Better controll of when to turn hvac fan on or off
This commit is contained in:
parent
2e4064b46d
commit
50273668d8
@ -3,6 +3,7 @@ homeassistant:
|
|||||||
package.node_anchors:
|
package.node_anchors:
|
||||||
hvac_switch: &hvac_switch switch.ventilation
|
hvac_switch: &hvac_switch switch.ventilation
|
||||||
hvac_sensor: &hvac_sensor sensor.badrum_humidity
|
hvac_sensor: &hvac_sensor sensor.badrum_humidity
|
||||||
|
hvac_ref: &hvac_ref sensor.utomhus_humidity
|
||||||
common: &common
|
common: &common
|
||||||
package: hvac
|
package: hvac
|
||||||
|
|
||||||
@ -25,9 +26,8 @@ automation:
|
|||||||
- alias: HVAC - Auto on
|
- alias: HVAC - Auto on
|
||||||
initial_state: True
|
initial_state: True
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: template
|
||||||
entity_id: *hvac_sensor
|
value_template: "{{ states('sensor.badrum_humidity')|int > (states('sensor.vardagsrum_humidity')|int + 10) }}"
|
||||||
above: 60
|
|
||||||
action:
|
action:
|
||||||
- service: homeassistant.turn_on
|
- service: homeassistant.turn_on
|
||||||
data:
|
data:
|
||||||
@ -37,9 +37,8 @@ automation:
|
|||||||
- alias: HVAC - Auto off
|
- alias: HVAC - Auto off
|
||||||
initial_state: True
|
initial_state: True
|
||||||
trigger:
|
trigger:
|
||||||
- platform: numeric_state
|
- platform: template
|
||||||
entity_id: *hvac_sensor
|
value_template: "{{ states('sensor.badrum_humidity')|int < (states('sensor.vardagsrum_humidity')|int + 10) }}"
|
||||||
below: 50
|
|
||||||
for:
|
for:
|
||||||
minutes: 15
|
minutes: 15
|
||||||
action:
|
action:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user