I want to program an outlet to turn on for 1 hour and then turn off for 1 hour, and i also want it to continue indefinetly, but i have no idea how i am supposed to do so, but i figured people on these forums have some clue. Please help. Thank you!
- id: b07a78db-e0d4-4a91-9e11-0346cd8c2ab7
alias: mi plug
description: ''
trigger:
- platform: time_pattern
hours: "/1"
condition: []
action:
- service: switch.toggle
data: {}
entity_id: switch.mi_outlet
1 Like