From 26aac142d74156c585c229a228e17160f622d0be Mon Sep 17 00:00:00 2001 From: Brandon Harvey Date: Sun, 8 Mar 2026 11:41:47 -0500 Subject: [PATCH 1/4] fix: add transition_length 0ms to on_shutdown light turn off to prevent RGB LED staying on during deep sleep The WS2812 LED was staying slightly on after entering deep sleep despite on_shutdown containing light.turn_off. Root cause: addressable lights schedule their state update for the next main loop iteration, but the loop stops running during shutdown before the RMT signal is transmitted. Explicitly specifying transition_length: 0ms bypasses the loop-based timing mechanism, ensuring the off command is sent synchronously. Fix applied to all 7 YAML variants. Ref: https://github.com/esphome/issues/issues/6800 --- Integrations/ESPHome/TEMP-1.yaml | 4 +++- Integrations/ESPHome/TEMP-1B.yaml | 4 +++- Integrations/ESPHome/TEMP-1B_BLE.yaml | 4 +++- Integrations/ESPHome/TEMP-1B_Minimal.yaml | 4 +++- Integrations/ESPHome/TEMP-1_BLE.yaml | 4 +++- Integrations/ESPHome/TEMP-1_Beta.yaml | 4 +++- Integrations/ESPHome/TEMP-1_Minimal.yaml | 4 +++- 7 files changed, 21 insertions(+), 7 deletions(-) diff --git a/Integrations/ESPHome/TEMP-1.yaml b/Integrations/ESPHome/TEMP-1.yaml index 5c7c1c8..c5a9260 100644 --- a/Integrations/ESPHome/TEMP-1.yaml +++ b/Integrations/ESPHome/TEMP-1.yaml @@ -85,7 +85,9 @@ esphome: - delay: 10s - lambda: "id(testScript).execute();" on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms dashboard_import: package_import_url: github://ApolloAutomation/TEMP-1/Integrations/ESPHome/TEMP-1_Minimal.yaml diff --git a/Integrations/ESPHome/TEMP-1B.yaml b/Integrations/ESPHome/TEMP-1B.yaml index 83c4719..598b325 100644 --- a/Integrations/ESPHome/TEMP-1B.yaml +++ b/Integrations/ESPHome/TEMP-1B.yaml @@ -83,7 +83,9 @@ esphome: - lambda: "id(testScript).execute();" on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms dashboard_import: package_import_url: github://ApolloAutomation/TEMP-1/Integrations/ESPHome/TEMP-1B_Minimal.yaml diff --git a/Integrations/ESPHome/TEMP-1B_BLE.yaml b/Integrations/ESPHome/TEMP-1B_BLE.yaml index d5a0469..3be7860 100644 --- a/Integrations/ESPHome/TEMP-1B_BLE.yaml +++ b/Integrations/ESPHome/TEMP-1B_BLE.yaml @@ -75,7 +75,9 @@ esphome: on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms logger: diff --git a/Integrations/ESPHome/TEMP-1B_Minimal.yaml b/Integrations/ESPHome/TEMP-1B_Minimal.yaml index 75eb3b4..957e26f 100644 --- a/Integrations/ESPHome/TEMP-1B_Minimal.yaml +++ b/Integrations/ESPHome/TEMP-1B_Minimal.yaml @@ -74,7 +74,9 @@ esphome: id: deep_sleep_1 on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms dashboard_import: package_import_url: github://ApolloAutomation/TEMP-1/Integrations/ESPHome/TEMP-1B_Minimal.yaml diff --git a/Integrations/ESPHome/TEMP-1_BLE.yaml b/Integrations/ESPHome/TEMP-1_BLE.yaml index a59860d..af89179 100644 --- a/Integrations/ESPHome/TEMP-1_BLE.yaml +++ b/Integrations/ESPHome/TEMP-1_BLE.yaml @@ -74,7 +74,9 @@ esphome: id: deep_sleep_1 on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms logger: diff --git a/Integrations/ESPHome/TEMP-1_Beta.yaml b/Integrations/ESPHome/TEMP-1_Beta.yaml index cf6db8f..b955b1d 100644 --- a/Integrations/ESPHome/TEMP-1_Beta.yaml +++ b/Integrations/ESPHome/TEMP-1_Beta.yaml @@ -60,7 +60,9 @@ esphome: id: deep_sleep_1 on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms - switch.turn_off: accessory_power dashboard_import: diff --git a/Integrations/ESPHome/TEMP-1_Minimal.yaml b/Integrations/ESPHome/TEMP-1_Minimal.yaml index b20a85f..fea23b8 100644 --- a/Integrations/ESPHome/TEMP-1_Minimal.yaml +++ b/Integrations/ESPHome/TEMP-1_Minimal.yaml @@ -74,7 +74,9 @@ esphome: id: deep_sleep_1 on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms dashboard_import: package_import_url: github://ApolloAutomation/TEMP-1/Integrations/ESPHome/TEMP-1_Minimal.yaml From 7cbf1a833f481c1783d077ba3b2e3c0cde3df923 Mon Sep 17 00:00:00 2001 From: Brandon Harvey Date: Sun, 8 Mar 2026 11:55:24 -0500 Subject: [PATCH 2/4] fix: turn off RGB LED before deep_sleep.enter to prevent faint glow during sleep The previous fix (transition_length: 0ms in on_shutdown) did not work because on_shutdown runs after the main loop has stopped, so the RMT peripheral never actually transmits the off signal. This fix adds light.turn_off + 50ms delay immediately before every deep_sleep.enter action call, while the main loop is still running and can complete the RMT transmission before sleep is entered. Affects Core.yaml (primary HA-connected path) and all 7 variant files. --- Integrations/ESPHome/Core.yaml | 2 ++ Integrations/ESPHome/TEMP-1.yaml | 2 ++ Integrations/ESPHome/TEMP-1B.yaml | 2 ++ Integrations/ESPHome/TEMP-1B_BLE.yaml | 2 ++ Integrations/ESPHome/TEMP-1B_Minimal.yaml | 2 ++ Integrations/ESPHome/TEMP-1_BLE.yaml | 2 ++ Integrations/ESPHome/TEMP-1_Beta.yaml | 6 +++++- Integrations/ESPHome/TEMP-1_Minimal.yaml | 2 ++ 8 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Integrations/ESPHome/Core.yaml b/Integrations/ESPHome/Core.yaml index 4a4e460..4e2705b 100644 --- a/Integrations/ESPHome/Core.yaml +++ b/Integrations/ESPHome/Core.yaml @@ -43,6 +43,8 @@ api: - lambda: |- id(reportAllValues).execute(); - delay: 5s + - light.turn_off: rgb_light + - delay: 50ms - deep_sleep.enter: id: deep_sleep_1 diff --git a/Integrations/ESPHome/TEMP-1.yaml b/Integrations/ESPHome/TEMP-1.yaml index c5a9260..0f6d881 100644 --- a/Integrations/ESPHome/TEMP-1.yaml +++ b/Integrations/ESPHome/TEMP-1.yaml @@ -68,6 +68,8 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: + - light.turn_off: rgb_light + - delay: 50ms - deep_sleep.enter: id: deep_sleep_1 - priority: 500 diff --git a/Integrations/ESPHome/TEMP-1B.yaml b/Integrations/ESPHome/TEMP-1B.yaml index 598b325..7b09d47 100644 --- a/Integrations/ESPHome/TEMP-1B.yaml +++ b/Integrations/ESPHome/TEMP-1B.yaml @@ -71,6 +71,8 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: + - light.turn_off: rgb_light + - delay: 50ms - deep_sleep.enter: id: deep_sleep_1 - priority: -300 diff --git a/Integrations/ESPHome/TEMP-1B_BLE.yaml b/Integrations/ESPHome/TEMP-1B_BLE.yaml index 3be7860..11300fd 100644 --- a/Integrations/ESPHome/TEMP-1B_BLE.yaml +++ b/Integrations/ESPHome/TEMP-1B_BLE.yaml @@ -70,6 +70,8 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: + - light.turn_off: rgb_light + - delay: 50ms - deep_sleep.enter: id: deep_sleep_1 diff --git a/Integrations/ESPHome/TEMP-1B_Minimal.yaml b/Integrations/ESPHome/TEMP-1B_Minimal.yaml index 957e26f..ff472e4 100644 --- a/Integrations/ESPHome/TEMP-1B_Minimal.yaml +++ b/Integrations/ESPHome/TEMP-1B_Minimal.yaml @@ -70,6 +70,8 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: + - light.turn_off: rgb_light + - delay: 50ms - deep_sleep.enter: id: deep_sleep_1 diff --git a/Integrations/ESPHome/TEMP-1_BLE.yaml b/Integrations/ESPHome/TEMP-1_BLE.yaml index af89179..993bcf6 100644 --- a/Integrations/ESPHome/TEMP-1_BLE.yaml +++ b/Integrations/ESPHome/TEMP-1_BLE.yaml @@ -70,6 +70,8 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: + - light.turn_off: rgb_light + - delay: 50ms - deep_sleep.enter: id: deep_sleep_1 diff --git a/Integrations/ESPHome/TEMP-1_Beta.yaml b/Integrations/ESPHome/TEMP-1_Beta.yaml index b955b1d..3305aab 100644 --- a/Integrations/ESPHome/TEMP-1_Beta.yaml +++ b/Integrations/ESPHome/TEMP-1_Beta.yaml @@ -55,10 +55,12 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: + - light.turn_off: rgb_light + - delay: 50ms - switch.turn_off: accessory_power - deep_sleep.enter: id: deep_sleep_1 - + on_shutdown: - light.turn_off: id: rgb_light @@ -128,6 +130,8 @@ api: condition: switch.is_on: sleep_after_connecting then: + - light.turn_off: rgb_light + - delay: 50ms - switch.turn_off: accessory_power - deep_sleep.enter: id: deep_sleep_1 diff --git a/Integrations/ESPHome/TEMP-1_Minimal.yaml b/Integrations/ESPHome/TEMP-1_Minimal.yaml index fea23b8..047137e 100644 --- a/Integrations/ESPHome/TEMP-1_Minimal.yaml +++ b/Integrations/ESPHome/TEMP-1_Minimal.yaml @@ -70,6 +70,8 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: + - light.turn_off: rgb_light + - delay: 50ms - deep_sleep.enter: id: deep_sleep_1 From 869ef32d01fbdaf110635dcfa7bf86a9057214f5 Mon Sep 17 00:00:00 2001 From: Brandon Harvey Date: Sun, 8 Mar 2026 12:12:32 -0500 Subject: [PATCH 3/4] fix: use explicit transition_length 0ms + 200ms delay before deep sleep Attempt 2 used the light.turn_off shorthand which may not respect default_transition_length, leaving a ~1s fade active while only waiting 50ms. This combines explicit transition_length: 0ms with a 200ms delay (ample time for RMT transmission to complete) while the main loop is still running. Also reverts on_shutdown back to simple shorthand since that hook runs after the loop has stopped and cannot reliably transmit the RMT signal regardless of transition settings. --- Integrations/ESPHome/Core.yaml | 6 ++++-- Integrations/ESPHome/TEMP-1.yaml | 10 +++++----- Integrations/ESPHome/TEMP-1B.yaml | 10 +++++----- Integrations/ESPHome/TEMP-1B_BLE.yaml | 14 +++++++------- Integrations/ESPHome/TEMP-1B_Minimal.yaml | 12 ++++++------ Integrations/ESPHome/TEMP-1_BLE.yaml | 12 ++++++------ Integrations/ESPHome/TEMP-1_Beta.yaml | 16 +++++++++------- Integrations/ESPHome/TEMP-1_Minimal.yaml | 10 +++++----- 8 files changed, 47 insertions(+), 43 deletions(-) diff --git a/Integrations/ESPHome/Core.yaml b/Integrations/ESPHome/Core.yaml index 4e2705b..05e4c3d 100644 --- a/Integrations/ESPHome/Core.yaml +++ b/Integrations/ESPHome/Core.yaml @@ -43,8 +43,10 @@ api: - lambda: |- id(reportAllValues).execute(); - delay: 5s - - light.turn_off: rgb_light - - delay: 50ms + - light.turn_off: + id: rgb_light + transition_length: 0ms + - delay: 200ms - deep_sleep.enter: id: deep_sleep_1 diff --git a/Integrations/ESPHome/TEMP-1.yaml b/Integrations/ESPHome/TEMP-1.yaml index 0f6d881..f281414 100644 --- a/Integrations/ESPHome/TEMP-1.yaml +++ b/Integrations/ESPHome/TEMP-1.yaml @@ -68,8 +68,10 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: - - light.turn_off: rgb_light - - delay: 50ms + - light.turn_off: + id: rgb_light + transition_length: 0ms + - delay: 200ms - deep_sleep.enter: id: deep_sleep_1 - priority: 500 @@ -87,9 +89,7 @@ esphome: - delay: 10s - lambda: "id(testScript).execute();" on_shutdown: - - light.turn_off: - id: rgb_light - transition_length: 0ms + - light.turn_off: rgb_light dashboard_import: package_import_url: github://ApolloAutomation/TEMP-1/Integrations/ESPHome/TEMP-1_Minimal.yaml diff --git a/Integrations/ESPHome/TEMP-1B.yaml b/Integrations/ESPHome/TEMP-1B.yaml index 7b09d47..0e1de82 100644 --- a/Integrations/ESPHome/TEMP-1B.yaml +++ b/Integrations/ESPHome/TEMP-1B.yaml @@ -71,8 +71,10 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: - - light.turn_off: rgb_light - - delay: 50ms + - light.turn_off: + id: rgb_light + transition_length: 0ms + - delay: 200ms - deep_sleep.enter: id: deep_sleep_1 - priority: -300 @@ -85,9 +87,7 @@ esphome: - lambda: "id(testScript).execute();" on_shutdown: - - light.turn_off: - id: rgb_light - transition_length: 0ms + - light.turn_off: rgb_light dashboard_import: package_import_url: github://ApolloAutomation/TEMP-1/Integrations/ESPHome/TEMP-1B_Minimal.yaml diff --git a/Integrations/ESPHome/TEMP-1B_BLE.yaml b/Integrations/ESPHome/TEMP-1B_BLE.yaml index 11300fd..7e1a89e 100644 --- a/Integrations/ESPHome/TEMP-1B_BLE.yaml +++ b/Integrations/ESPHome/TEMP-1B_BLE.yaml @@ -70,16 +70,16 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: - - light.turn_off: rgb_light - - delay: 50ms + - light.turn_off: + id: rgb_light + transition_length: 0ms + - delay: 200ms - deep_sleep.enter: id: deep_sleep_1 - - + + on_shutdown: - - light.turn_off: - id: rgb_light - transition_length: 0ms + - light.turn_off: rgb_light logger: diff --git a/Integrations/ESPHome/TEMP-1B_Minimal.yaml b/Integrations/ESPHome/TEMP-1B_Minimal.yaml index ff472e4..7b1b9f0 100644 --- a/Integrations/ESPHome/TEMP-1B_Minimal.yaml +++ b/Integrations/ESPHome/TEMP-1B_Minimal.yaml @@ -70,15 +70,15 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: - - light.turn_off: rgb_light - - delay: 50ms + - light.turn_off: + id: rgb_light + transition_length: 0ms + - delay: 200ms - deep_sleep.enter: id: deep_sleep_1 - + on_shutdown: - - light.turn_off: - id: rgb_light - transition_length: 0ms + - light.turn_off: rgb_light dashboard_import: package_import_url: github://ApolloAutomation/TEMP-1/Integrations/ESPHome/TEMP-1B_Minimal.yaml diff --git a/Integrations/ESPHome/TEMP-1_BLE.yaml b/Integrations/ESPHome/TEMP-1_BLE.yaml index 993bcf6..12dc23f 100644 --- a/Integrations/ESPHome/TEMP-1_BLE.yaml +++ b/Integrations/ESPHome/TEMP-1_BLE.yaml @@ -70,15 +70,15 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: - - light.turn_off: rgb_light - - delay: 50ms + - light.turn_off: + id: rgb_light + transition_length: 0ms + - delay: 200ms - deep_sleep.enter: id: deep_sleep_1 - + on_shutdown: - - light.turn_off: - id: rgb_light - transition_length: 0ms + - light.turn_off: rgb_light logger: diff --git a/Integrations/ESPHome/TEMP-1_Beta.yaml b/Integrations/ESPHome/TEMP-1_Beta.yaml index 3305aab..9e3147f 100644 --- a/Integrations/ESPHome/TEMP-1_Beta.yaml +++ b/Integrations/ESPHome/TEMP-1_Beta.yaml @@ -55,16 +55,16 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: - - light.turn_off: rgb_light - - delay: 50ms + - light.turn_off: + id: rgb_light + transition_length: 0ms + - delay: 200ms - switch.turn_off: accessory_power - deep_sleep.enter: id: deep_sleep_1 on_shutdown: - - light.turn_off: - id: rgb_light - transition_length: 0ms + - light.turn_off: rgb_light - switch.turn_off: accessory_power dashboard_import: @@ -130,8 +130,10 @@ api: condition: switch.is_on: sleep_after_connecting then: - - light.turn_off: rgb_light - - delay: 50ms + - light.turn_off: + id: rgb_light + transition_length: 0ms + - delay: 200ms - switch.turn_off: accessory_power - deep_sleep.enter: id: deep_sleep_1 diff --git a/Integrations/ESPHome/TEMP-1_Minimal.yaml b/Integrations/ESPHome/TEMP-1_Minimal.yaml index 047137e..873a0d7 100644 --- a/Integrations/ESPHome/TEMP-1_Minimal.yaml +++ b/Integrations/ESPHome/TEMP-1_Minimal.yaml @@ -70,15 +70,15 @@ esphome: - binary_sensor.is_off: ota_mode - switch.is_off: prevent_sleep then: - - light.turn_off: rgb_light - - delay: 50ms + - light.turn_off: + id: rgb_light + transition_length: 0ms + - delay: 200ms - deep_sleep.enter: id: deep_sleep_1 on_shutdown: - - light.turn_off: - id: rgb_light - transition_length: 0ms + - light.turn_off: rgb_light dashboard_import: package_import_url: github://ApolloAutomation/TEMP-1/Integrations/ESPHome/TEMP-1_Minimal.yaml From 485b027bf8851e1603c5772f4d3111c7d78ad809 Mon Sep 17 00:00:00 2001 From: Brandon Harvey Date: Sun, 8 Mar 2026 12:31:14 -0500 Subject: [PATCH 4/4] fix: add transition_length 0ms and turn off accessory_power in on_shutdown Test whether cutting accessory power on shutdown prevents the dim LED glow during deep sleep, in addition to forcing zero-length light transition. --- Integrations/ESPHome/TEMP-1.yaml | 5 ++++- Integrations/ESPHome/TEMP-1B.yaml | 5 ++++- Integrations/ESPHome/TEMP-1B_BLE.yaml | 5 ++++- Integrations/ESPHome/TEMP-1B_Minimal.yaml | 5 ++++- Integrations/ESPHome/TEMP-1_BLE.yaml | 5 ++++- Integrations/ESPHome/TEMP-1_Beta.yaml | 4 +++- Integrations/ESPHome/TEMP-1_Minimal.yaml | 5 ++++- 7 files changed, 27 insertions(+), 7 deletions(-) diff --git a/Integrations/ESPHome/TEMP-1.yaml b/Integrations/ESPHome/TEMP-1.yaml index f281414..6b7c2ec 100644 --- a/Integrations/ESPHome/TEMP-1.yaml +++ b/Integrations/ESPHome/TEMP-1.yaml @@ -89,7 +89,10 @@ esphome: - delay: 10s - lambda: "id(testScript).execute();" on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms + - switch.turn_off: accessory_power dashboard_import: package_import_url: github://ApolloAutomation/TEMP-1/Integrations/ESPHome/TEMP-1_Minimal.yaml diff --git a/Integrations/ESPHome/TEMP-1B.yaml b/Integrations/ESPHome/TEMP-1B.yaml index 0e1de82..4b0fd0e 100644 --- a/Integrations/ESPHome/TEMP-1B.yaml +++ b/Integrations/ESPHome/TEMP-1B.yaml @@ -87,7 +87,10 @@ esphome: - lambda: "id(testScript).execute();" on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms + - switch.turn_off: accessory_power dashboard_import: package_import_url: github://ApolloAutomation/TEMP-1/Integrations/ESPHome/TEMP-1B_Minimal.yaml diff --git a/Integrations/ESPHome/TEMP-1B_BLE.yaml b/Integrations/ESPHome/TEMP-1B_BLE.yaml index 7e1a89e..59ad517 100644 --- a/Integrations/ESPHome/TEMP-1B_BLE.yaml +++ b/Integrations/ESPHome/TEMP-1B_BLE.yaml @@ -79,7 +79,10 @@ esphome: on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms + - switch.turn_off: accessory_power logger: diff --git a/Integrations/ESPHome/TEMP-1B_Minimal.yaml b/Integrations/ESPHome/TEMP-1B_Minimal.yaml index 7b1b9f0..a23bd27 100644 --- a/Integrations/ESPHome/TEMP-1B_Minimal.yaml +++ b/Integrations/ESPHome/TEMP-1B_Minimal.yaml @@ -78,7 +78,10 @@ esphome: id: deep_sleep_1 on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms + - switch.turn_off: accessory_power dashboard_import: package_import_url: github://ApolloAutomation/TEMP-1/Integrations/ESPHome/TEMP-1B_Minimal.yaml diff --git a/Integrations/ESPHome/TEMP-1_BLE.yaml b/Integrations/ESPHome/TEMP-1_BLE.yaml index 12dc23f..e11bb9d 100644 --- a/Integrations/ESPHome/TEMP-1_BLE.yaml +++ b/Integrations/ESPHome/TEMP-1_BLE.yaml @@ -78,7 +78,10 @@ esphome: id: deep_sleep_1 on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms + - switch.turn_off: accessory_power logger: diff --git a/Integrations/ESPHome/TEMP-1_Beta.yaml b/Integrations/ESPHome/TEMP-1_Beta.yaml index 9e3147f..29c24f1 100644 --- a/Integrations/ESPHome/TEMP-1_Beta.yaml +++ b/Integrations/ESPHome/TEMP-1_Beta.yaml @@ -64,7 +64,9 @@ esphome: id: deep_sleep_1 on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms - switch.turn_off: accessory_power dashboard_import: diff --git a/Integrations/ESPHome/TEMP-1_Minimal.yaml b/Integrations/ESPHome/TEMP-1_Minimal.yaml index 873a0d7..a7d3255 100644 --- a/Integrations/ESPHome/TEMP-1_Minimal.yaml +++ b/Integrations/ESPHome/TEMP-1_Minimal.yaml @@ -78,7 +78,10 @@ esphome: id: deep_sleep_1 on_shutdown: - - light.turn_off: rgb_light + - light.turn_off: + id: rgb_light + transition_length: 0ms + - switch.turn_off: accessory_power dashboard_import: package_import_url: github://ApolloAutomation/TEMP-1/Integrations/ESPHome/TEMP-1_Minimal.yaml