Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Test Remote Button
- description: ''
- mode: single
- trigger:
- - platform: mqtt
- topic: zigbee2mqtt/Living Room Remote/action
- id: living_room_button_on
- payload: 'on'
- - platform: mqtt
- topic: zigbee2mqtt/Living Room Remote/action
- id: living_room_button_off
- payload: 'off'
- condition: []
- action:
- - choose:
- - conditions:
- - condition: trigger
- id: living_room_button_on
- sequence:
- - service: switch.turn_on
- target:
- entity_id: switch.bedroom_switch
- - conditions:
- - condition: trigger
- id: living_room_button_off
- sequence:
- - service: switch.turn_off
- target:
- entity_id: switch.bedroom_switch
- default: []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement