mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-07 18:28:43 +00:00
Tweak air quality config
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user