Advertisement
arushear

Przycisk_xiaomi

Dec 12th, 2024
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.97 KB | None | 0 0
  1. alias: Salon - przycisk
  2. description: ""
  3. mode: single
  4. triggers:
  5.   - domain: mqtt
  6.     device_id: d5f48ad0bd982e5c8a06970b63be423d
  7.     type: action
  8.     subtype: single
  9.     discovery_id: 0x00158d00036c174b action_single
  10.     id: single
  11.     trigger: device
  12.   - domain: mqtt
  13.     device_id: d5f48ad0bd982e5c8a06970b63be423d
  14.     type: action
  15.     subtype: double
  16.     discovery_id: 0x00158d00036c174b action_double
  17.     id: double
  18.     trigger: device
  19.   - domain: mqtt
  20.     device_id: d5f48ad0bd982e5c8a06970b63be423d
  21.     type: action
  22.     subtype: triple
  23.     discovery_id: 0x00158d00036c174b action_triple
  24.     id: triple
  25.     trigger: device
  26.   - domain: mqtt
  27.     device_id: d5f48ad0bd982e5c8a06970b63be423d
  28.     type: action
  29.     subtype: quadruple
  30.     discovery_id: 0x00158d00036c174b action_quadruple
  31.     id: quadruple
  32.     trigger: device
  33. conditions: []
  34. actions:
  35.   - choose:
  36.       - conditions:
  37.           - condition: trigger
  38.             id:
  39.              - single
  40.         sequence:
  41.           - type: toggle
  42.             device_id: 68c16863d73a7f80eb86f6e49c07b13f
  43.             entity_id: 1fbfe1aa76a42a4b502c424188ab6374
  44.             domain: switch
  45.       - conditions:
  46.           - condition: trigger
  47.             id:
  48.              - double
  49.         sequence:
  50.           - type: toggle
  51.             device_id: 26acb144eb01fc37ca998f0ba20c98ae
  52.             entity_id: 5fb3e485ae10cf52b127f855075f1e75
  53.             domain: switch
  54.       - conditions:
  55.           - condition: trigger
  56.             id:
  57.              - triple
  58.         sequence:
  59.           - type: toggle
  60.             device_id: 03a4ae6c4fc91d61a392079d006d3f8a
  61.             entity_id: 1d86ca7dac0e878750e227cace880fa9
  62.             domain: switch
  63.       - conditions:
  64.           - condition: trigger
  65.             id:
  66.              - quadruple
  67.         sequence:
  68.           - type: toggle
  69.             device_id: bdf041e0bfa68456dcb9e4cb26c2ed91
  70.             entity_id: 140df146dd0d31fdb012df6861c9fa1c
  71.             domain: switch
  72.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement