Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
- 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
You can’t perform that action at this time.