From deab38d90483a7c80d64436aa086b1a872adde60 Mon Sep 17 00:00:00 2001 From: darthsandmann Date: Thu, 11 Aug 2022 23:03:59 +0200 Subject: [PATCH] minor delay fixes + disable adaptive while switching --- packages/button/button_logic.yaml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/packages/button/button_logic.yaml b/packages/button/button_logic.yaml index fdc266d..3cbf2b1 100644 --- a/packages/button/button_logic.yaml +++ b/packages/button/button_logic.yaml @@ -367,6 +367,9 @@ automation: - service: automation.trigger target: entity_id: automation.light_all_snapshot + - service: switch.turn_off + target: + entity_id: switch.adaptive_lighting_default - service: light.turn_on data: effect: Twitter @@ -376,7 +379,7 @@ automation: hours: 0 minutes: 0 seconds: 1 - milliseconds: 0 + milliseconds: 500 - service: scene.turn_on target: entity_id: scene.snapshot_all @@ -392,6 +395,9 @@ automation: - service: automation.trigger target: entity_id: automation.light_all_snapshot + - service: switch.turn_off + target: + entity_id: switch.adaptive_lighting_default - service: light.turn_on data: effect: Twitter @@ -401,7 +407,7 @@ automation: hours: 0 minutes: 0 seconds: 1 - milliseconds: 0 + milliseconds: 500 - service: scene.turn_on target: entity_id: scene.snapshot_all @@ -417,6 +423,9 @@ automation: - service: automation.trigger target: entity_id: automation.light_all_snapshot + - service: switch.turn_off + target: + entity_id: switch.adaptive_lighting_default - service: light.turn_on data: effect: Twitter @@ -426,7 +435,7 @@ automation: hours: 0 minutes: 0 seconds: 1 - milliseconds: 0 + milliseconds: 500 - service: scene.turn_on target: entity_id: scene.snapshot_all @@ -442,6 +451,9 @@ automation: - service: automation.trigger target: entity_id: automation.light_all_snapshot + - service: switch.turn_off + target: + entity_id: switch.adaptive_lighting_default - service: light.turn_on data: effect: Twitter @@ -451,7 +463,7 @@ automation: hours: 0 minutes: 0 seconds: 1 - milliseconds: 0 + milliseconds: 500 - service: scene.turn_on target: entity_id: scene.snapshot_all