home_assistant/automations/test_poolpumpe.yaml

42 lines
955 B
YAML

mode: single
id: 28152be7-98e7-4041-b3f1-d775c381f5b4
desciption: Zeitsteuerung Poolpumpe
alias: Event Poolpumpe schalten
trigger:
- platform: time
at: "21:15:00"
id: weekday
- platform: time
at: "22:30:00"
id: weekend
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: weekday
- condition: time
weekday:
- mon
- tue
- wed
- thu
sequence:
# - service: switch.turn_on
# data: {}
# target:
# entity_id: switch.your_switch
- conditions:
- condition: trigger
id: weekend
- condition: time
weekday:
- fri
- sat
- sun
sequence:
# - service: switch.turn_on
# data: {}
# target:
# entity_id: switch.your_switch