Luce Salutto Automations

This commit is contained in:
2025-10-04 23:19:16 +02:00
parent 326414bd89
commit 539f7132b7

View File

@@ -200,18 +200,10 @@
triggers:
- trigger: sun
event: sunset
offset: '1800'
offset: '1500'
id: giardino-on
- trigger: time
at: '22:00:00'
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
id: giardino-off
conditions: []
actions:
@@ -288,3 +280,54 @@
target:
entity_id: input_boolean.cancelletto_video_duration
mode: single
- id: '1759503106971'
alias: Luce-Lampada-Salotto
description: ''
triggers:
- trigger: state
entity_id:
- switch.luce_salotto_ctrl
from: 'off'
to: 'on'
id: Luce-Salotto-on
- trigger: state
entity_id:
- switch.luce_salotto_ctrl
from: 'on'
to: 'off'
id: Luce-Salotto-off
conditions: []
actions:
- if:
- condition: trigger
id:
- Luce-Salotto-on
then:
- action: light.turn_on
metadata: {}
data: {}
target:
entity_id: light.luce_salotto
else:
- action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.luce_salotto
mode: single
- id: '1759608901579'
alias: Luce-Manuale-Salotto
description: ''
triggers:
- trigger: state
entity_id:
- switch.luce_salotto_ctrl
id: luce-salotto-toogle
conditions: []
actions:
- action: light.toggle
metadata: {}
data: {}
target:
entity_id: light.luce_salotto
mode: single