Added remote control to ventilation fan
This commit is contained in:
parent
7e460daf20
commit
88cd28d99f
@ -51,6 +51,10 @@ cards:
|
|||||||
|
|
||||||
# Tvättstuga
|
# Tvättstuga
|
||||||
{{ lamp('light.skotbord', 21, 15) }}
|
{{ lamp('light.skotbord', 21, 15) }}
|
||||||
|
- type: state-icon
|
||||||
|
entity: switch.ventilation
|
||||||
|
tap_action: { action: toggle }
|
||||||
|
style: { left: 30%, top: 30% }
|
||||||
|
|
||||||
# Utomhus
|
# Utomhus
|
||||||
{{ dimlamp('light.baksida', 35, 5) }}
|
{{ dimlamp('light.baksida', 35, 5) }}
|
||||||
|
20
packages/hvac.yaml
Normal file
20
packages/hvac.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user