Hallo,
I read some post, that HA doesn’t use CRON, the solution of HA is much better instead. Ok.
I need: Switch a pump on, each day except Friday and saturday.
As far as I know, there were a time pattern trigger and a calendar. The calandar can fire a trigger on daily base, no exclusions, the time pattern trigger can fire each 24h, no exclusion.
With CRON I know, how to setup my pattern. But how can I do it in HA?
Thanks for helping
With best regards
Gerhard
At what time?
Let’s say 9am.
trigger:
- platform: time
at: "09:00:00"
condition:
- condition: time
after: "09:00:00"
weekday:
- mon
- tue
- wed
- thu
- sun
action:
- service: switch.turn_on
target:
entity_id: switch.pump