Pulsante e MQTT trigger - test motion light new

This commit is contained in:
2025-01-30 00:24:45 +01:00
parent c7260d8b64
commit 390b5c5972
6 changed files with 301 additions and 131 deletions

View File

@@ -111,8 +111,7 @@ actions:
then:
- if:
- condition: template
# value_template: "{{ use_dont_disturb }}"
value_template: "{{ dont_disturb_nighttime }}"
value_template: "{{ dont_disturb_condition }}"
then:
- action: light.turn_on
target: !input light_target
@@ -142,7 +141,7 @@ actions:
then:
- if:
- condition: template
value_template: "{{ use_dont_disturb }}"
value_template: "{{ dont_disturb_condition }}"
then:
- action: light.turn_on
target: !input light_target