Skip to content

Instantly share code, notes, and snippets.

@kedare
Created November 9, 2020 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kedare/347b1a541d458a155e9e58e818dba7e0 to your computer and use it in GitHub Desktop.
Save kedare/347b1a541d458a155e9e58e818dba7e0 to your computer and use it in GitHub Desktop.
dimmer.yaml
alias: Dimmer bedroom turn off
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 2eec03e07b54e1d6e15b9700393b8a0e
type: action
subtype: off-press
discovery_id: 0x0017880104f0716f action_off-press
condition: []
action:
- type: turn_off
device_id: 69189f037bc721b5b1dd52b08840432d
entity_id: light.0x0017880104169cf5_light
domain: light
- type: turn_off
device_id: c52ce0feb1885805684f907ea82ffd96
entity_id: light.0x00178801043c9536_light
domain: light
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment