Tweak air quality config

This commit is contained in:
2020-12-03 09:56:42 +02:00
parent 3e18c43b3b
commit ac66002590
@@ -7,8 +7,8 @@ sensor:
binary_sensor: binary_sensor:
- platform: threshold - platform: threshold
entity_id: sensor.air_visual_aqi entity_id: sensor.waqi_mladost_sofia
upper: 75 upper: 35
name: aqi_above_threshold name: aqi_above_threshold
automation: automation:
@@ -55,12 +55,12 @@ automation:
- alias: Cliamate · Air Quality · Turn on purifier in bedroom on window open - alias: Cliamate · Air Quality · Turn on purifier in bedroom on window open
trigger: trigger:
platform: state platform: state
entity_id: binary_sensor.aqi_above_threshold entity_id: group.bedroom_windows
from: "off" from: "off"
to: "on" to: "on"
condition: condition:
- condition: state - condition: state
entity_id: group.bedroom_windows entity_id: binary_sensor.aqi_above_threshold
state: "on" state: "on"
action: action: