GS
Size: a a a
GS
GS
GS
condition:
- condition: template
value_template: '{{ as_timestamp(now()) - (as_timestamp(state_attr("automation.alert_washing_machine_spin_cycle", "last_triggered")) or 0) > 1800 }}'GS
GS
GS
IB
condition:
- condition: template
value_template: '{{ as_timestamp(now()) - (as_timestamp(state_attr("automation.alert_washing_machine_spin_cycle", "last_triggered")) or 0) > 1800 }}'alert_washing_machine_spin_cycle ?М
GS
alert_washing_machine_spin_cycle ?GS
automation:
- alias: "Вентиляция ванной"
id: "bathroom_ventilation"
trigger:
platform: state
entity_id: switch.zigbee_switch_bathroom_switch_left
# from: 'on'
to: 'off'
condition:
- condition: time
after: '07:00'
before: '22:00'
- condition: template
value_template: '{{ as_timestamp(now()) - (as_timestamp(state_attr("automation.bathroom_ventilation", "last_triggered")) or 0) > 240 }}'
action:
- delay: 8
- service: switch.turn_on
data:
entity_id: switch.zigbee_switch_bathroom_switch_right
- delay: 120
- service: switch.turn_off
data:
entity_id: switch.zigbee_switch_bathroom_switch_rightGS
GS
IB
GS
GS
IB
Д

GS
IB