Created
July 16, 2019 05:00
-
-
Save aeshirey/5a640e4be3d59c8d2ab9fc2595cabdfd to your computer and use it in GitHub Desktop.
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
- id: '1234' | |
alias: ventilate_on | |
trigger: | |
- payload: 'on' | |
platform: mqtt | |
topic: ventilate | |
condition: [] | |
action: | |
- data: | |
entity_id: switch.wind_tunnel | |
service: switch.turn_on | |
- data: | |
entity_id: switch.boys_fan | |
service: switch.turn_on | |
- id: 'ventilate_off' | |
alias: ventilate_off | |
trigger: | |
- payload: 'off' | |
platform: mqtt | |
topic: ventilate | |
condition: [] | |
action: | |
- data: | |
entity_id: switch.wind_tunnel | |
service: switch.turn_off | |
- data: | |
entity_id: switch.boys_fan | |
service: switch.turn_off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment