Advertisement
Einstine1984

Untitled

Sep 23rd, 2022
842
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.03 KB | None | 0 0
  1. alias: Dog Food Reminder
  2. description: ""
  3. trigger:
  4.   - platform: event
  5.     event_type: timer.finished
  6.     event_data:
  7.       entity_id: timer.dog_food_timer
  8.     id: timer
  9.   - device_id: 64eac88b5bc33fac4718ab5ff6527ff0
  10.     domain: zha
  11.     platform: device
  12.     type: remote_button_long_press
  13.     subtype: button
  14.     id: button
  15. condition: []
  16. action:
  17.   - choose:
  18.       - conditions:
  19.           - condition: trigger
  20.             id: timer
  21.         sequence:
  22.           - service: notify.mobile_app_op9
  23.             data:
  24.               title: Dog Food
  25.               message: Repelish the doog food
  26.               data:
  27.                 tag: dog_food
  28.       - conditions:
  29.           - condition: trigger
  30.             id: button
  31.         sequence:
  32.           - service: timer.start
  33.             data: {}
  34.             target:
  35.               entity_id: timer.dog_food_timer
  36.           - service: notify.mobile_app_op9
  37.             data:
  38.               message: clear_notification
  39.               data:
  40.                 tag: dog_food
  41. mode: single
  42.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement