1
0
mirror of https://github.com/Adam-Ant/home-assistant synced 2024-11-05 03:56:22 +00:00

Add fan turning off automation

This commit is contained in:
Adam Dodman 2017-06-15 21:40:52 +01:00
parent 26f1d613fd
commit e80b9622a4

12
automation/fan-off.yaml Normal file
View 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