Last active
September 21, 2022 14:37
-
-
Save johnypony3/b9c8cf663e4e206132ca9d631ad00782 to your computer and use it in GitHub Desktop.
homeassistant air quality / voc automation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: Garage air is dirty | |
description: "" | |
trigger: | |
- type: pm1 | |
platform: device | |
device_id: da8655b632ddea89ab73559fd1d158db | |
entity_id: sensor.garage_fan_particulates | |
domain: sensor | |
above: 5 | |
- type: volatile_organic_compounds | |
platform: device | |
device_id: da8655b632ddea89ab73559fd1d158db | |
entity_id: sensor.garage_fan_volatile_organic_compounds | |
domain: sensor | |
above: 5 | |
condition: [] | |
action: | |
- service: script.garage_fan_full_blast | |
data: {} | |
- wait_for_trigger: | |
- type: pm1 | |
platform: device | |
device_id: da8655b632ddea89ab73559fd1d158db | |
entity_id: sensor.garage_fan_particulates | |
domain: sensor | |
below: 5 | |
id: bad-air-off-pm1 | |
- type: volatile_organic_compounds | |
platform: device | |
device_id: da8655b632ddea89ab73559fd1d158db | |
entity_id: sensor.garage_fan_volatile_organic_compounds | |
domain: sensor | |
above: 5 | |
id: bad-air-off-voc | |
timeout: | |
minutes: 20 | |
- service: script.garage_air_is_nice | |
data: {} | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
garage air is dirty visual