Advertisement
314ma

set_suction

Nov 24th, 2021
1,383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.94 KB | None | 0 0
  1. append_icons: true
  2. icons:
  3.   - icon: mdi:water-minus
  4.     conditions:
  5.       - entity: vacuum.xiaomi
  6.         attribute: water_grade
  7.         value: '11'
  8.     tap_action:
  9.       action: call-service
  10.       service: vacuum.send_command
  11.       service_data:
  12.         entity_id: vacuum.xiaomi
  13.         command: set_suction
  14.         params: 12
  15.   - icon: mdi:water
  16.     conditions:
  17.       - entity: vacuum.xiaomi
  18.         attribute: water_grade
  19.         value: '12'
  20.     tap_action:
  21.       action: call-service
  22.       service: vacuum.send_command
  23.       service_data:
  24.         entity_id: vacuum.xiaomi
  25.         command: set_suction
  26.         params: 13
  27.   - icon: mdi:water-plus
  28.     conditions:
  29.       - entity: vacuum.xiaomi
  30.         attribute: water_grade
  31.         value: '13'
  32.     tap_action:
  33.       action: call-service
  34.       service: vacuum.send_command
  35.       service_data:
  36.         entity_id: vacuum.xiaomi
  37.         command: set_suction
  38.         params: 11
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement