Added remote control to ventilation fan

This commit is contained in:
2019-02-21 08:25:32 +01:00
parent 7e460daf20
commit 88cd28d99f
2 changed files with 24 additions and 0 deletions

20
packages/hvac.yaml Normal file
View File

@@ -0,0 +1,20 @@
homeassistant:
customize:
package.node_anchors:
hvac_switch: &hvac_switch switch.ventilation
common: &common
package: hvac
automation:
- alias: HVAC - Auto off
initial_state: True
trigger:
- platform: state
entity_id: *hvac_switch
to: 'on'
for:
hours: 1
action:
- service: homeassistant.turn_off
data:
entity_id: *hvac_switch