purifier automation

This commit is contained in:
James Walker 2023-02-10 22:10:08 -05:00
parent acf0c9d1ca
commit 2d17695583
Signed by: walkah
GPG Key ID: 3C127179D6086E93
3 changed files with 33 additions and 2 deletions

View File

@ -1 +1 @@
2023.1.7
2023.2.3

View File

@ -0,0 +1,31 @@
- id: "1676005859456"
alias: Bedroom TV Time
description: ""
trigger:
- platform: state
entity_id:
- media_player.bedroom_2
to: playing
condition: []
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.purifier_humidify_cool_formaldehyde_night_mode
mode: single
- id: "1676006403295"
alias: Bedroom TV Time Over
description: ""
trigger:
- platform: state
entity_id:
- media_player.bedroom_2
to: standby
condition: []
action:
- service: switch.turn_off
data: {}
target:
entity_id: switch.purifier_humidify_cool_formaldehyde_night_mode
mode: single