From 149461a4e8dd00fb5fe532e9aeb14ae14d35f025 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Sat, 23 Dec 2023 13:33:01 +0000 Subject: [PATCH] Logic --- .../config/integrations/ha-config-integration-page.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/panels/config/integrations/ha-config-integration-page.ts b/src/panels/config/integrations/ha-config-integration-page.ts index 8e86ed9d4ed2..1f74aff9dd37 100644 --- a/src/panels/config/integrations/ha-config-integration-page.ts +++ b/src/panels/config/integrations/ha-config-integration-page.ts @@ -560,10 +560,10 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) { `component.${item.domain}.exceptions.${item.reason_translation_key}.message`, item.reason_translation_placeholders ?? undefined ); - } else { - stateTextReason = item.reason; } - stateTextExtra = html`${stateTextReason || stateTextError}`; + stateTextExtra = html`${stateTextReason || + stateTextError || + item.reason}`; } else { stateTextExtra = html`