This file contains 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: 'Bathroom - Toilet flush air freshener + tts' | |
trigger: | |
# Trigger when the toilet is flushed usng a sensor on the cistern flush arm. | |
platform: state | |
entity_id: binary_sensor.toilet_flusher_contact | |
to: "on" | |
action: |
This file contains 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: Alexa - It's stinky | |
trigger: | |
# Trigger based on Alexa routine turning on the light. | |
- platform: state | |
entity_id: light.alexa_virtual | |
to: 'on' | |
condition: |