Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Notification - Ric Brush Reminder
- description: ""
- triggers:
- - trigger: time
- at: "14:30:00"
- - trigger: time
- at: "22:30:00"
- - trigger: zone
- entity_id: person.rjsampaio
- zone: zone.home
- event: enter
- conditions:
- - condition: template
- value_template: >-
- {{ (now() -
- states.sensor.ric_toothbrush_totalduration.last_changed).total_seconds() >
- 5*60*60 }}
- alias: Last brush more than x hour
- - condition: state
- entity_id: person.rjsampaio
- state: home
- - condition: time
- after: "02:29:00"
- actions:
- - action: notify.mobile_app_rsphone
- metadata: {}
- data:
- message: >-
- Your last brush was {{
- relative_time(states.sensor.ric_toothbrush_totalduration.last_changed)
- }} ago.
- title: |
- {{ ["Time to Shine! 🦷✨",
- "Hey, Let's Keep That Smile Bright! 😁",
- "Toothbrush Check-In",
- "Freshen Up Reminder for You! 🌟",
- "It's Brush O'Clock! ⏰",
- "Your Toothbrush Timer Update 🕒",
- "Friendly Reminder, Keep Smiling! 😄",
- "Let's Keep Your Pearly Whites Perfect!",
- "Brush Time Status Update💫",
- "It’s Toothbrushing Time Again?"]
- | random }}
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment