Advertisement
raidolo

Untitled

Dec 24th, 2023
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | Software | 0 0
  1. alias: Notifica stato lavatrice
  2. description: ""
  3. trigger:
  4. - platform: numeric_state
  5. entity_id: sensor.shellyem_ XXXXXXXXX_channel_2_power
  6. for:
  7. hours: 0
  8. minutes: 0
  9. seconds: 5
  10. above: 10
  11. condition: []
  12. action:
  13. - service: input_boolean.turn_on
  14. data: {}
  15. target:
  16. entity_id: input_boolean.stato_lavatrice
  17. - service: notify.casa
  18. data:
  19. message: Lavatrice Avviata! 👕
  20. - wait_for_trigger:
  21. - platform: numeric_state
  22. entity_id: sensor.shellyem_ XXXXXXXXX_channel_2_power
  23. for:
  24. hours: 0
  25. minutes: 0
  26. seconds: 40
  27. below: 2
  28. - service: input_boolean.turn_off
  29. data: {}
  30. target:
  31. entity_id: input_boolean.stato_lavatrice
  32. - service: notify.casa
  33. data:
  34. message: Lavatrice Terminata! 👚
  35. mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement