Advertisement
XeRiZeR

Untitled

Jul 28th, 2022
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.31 KB | None | 0 0
  1. alias: Dimmer
  2. description: ''
  3. mode: single
  4. trigger:
  5.   - platform: device
  6.     domain: mqtt
  7.     device_id: 52160d23a8a128f29c2935120d8d5846
  8.     type: action
  9.     subtype: off_press
  10.     discovery_id: 0x0017880109a9d63b action_off_press
  11.   - platform: device
  12.     domain: mqtt
  13.     device_id: 52160d23a8a128f29c2935120d8d5846
  14.     type: action
  15.     subtype: on_press
  16.     discovery_id: 0x0017880109a9d63b action_on_press
  17.   - platform: device
  18.     domain: mqtt
  19.     device_id: 52160d23a8a128f29c2935120d8d5846
  20.     type: action
  21.     subtype: up_press
  22.     discovery_id: 0x0017880109a9d63b action_up_press
  23.   - platform: device
  24.     domain: mqtt
  25.     device_id: 52160d23a8a128f29c2935120d8d5846
  26.     type: action
  27.     subtype: down_press
  28.     discovery_id: 0x0017880109a9d63b action_down_press
  29. condition: []
  30. action:
  31.   - type: turn_on
  32.     device_id: 00fb25de905f48ce94111ea6c71ec696
  33.     entity_id: light.entre_1
  34.     domain: light
  35.     brightness_pct: 100
  36.   - type: turn_off
  37.     device_id: 00fb25de905f48ce94111ea6c71ec696
  38.     entity_id: light.entre_1
  39.     domain: light
  40.   - device_id: 00fb25de905f48ce94111ea6c71ec696
  41.     domain: light
  42.     entity_id: light.entre_1
  43.     type: brightness_increase
  44.   - device_id: 00fb25de905f48ce94111ea6c71ec696
  45.     domain: light
  46.     entity_id: light.entre_1
  47.     type: brightness_decrease
  48.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement