mirror of
https://github.com/Adam-Ant/home-assistant
synced 2024-12-20 12:54:35 +00:00
Add fan turning off automation
This commit is contained in:
parent
26f1d613fd
commit
e80b9622a4
12
automation/fan-off.yaml
Normal file
12
automation/fan-off.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
- alias: Fan Off
|
||||||
|
trigger:
|
||||||
|
platform: time
|
||||||
|
hours: 5
|
||||||
|
minutes: 0
|
||||||
|
seconds: 0
|
||||||
|
condition:
|
||||||
|
condition: state
|
||||||
|
entity_id: fan.bedroom_fan
|
||||||
|
state: 'on'
|
||||||
|
action:
|
||||||
|
fan.bedroom_fan.turn_on
|
Loading…
Reference in New Issue
Block a user