Hi, i’m trying to create a notification based automation to remind me when recycling is due the day before it is picked up.
I am currently using the integration Waste Collection Schedule from HACS which reports the entity state in
“recycling in x days”, X bring the number of days until recycling is due.
How can I integrate this into an automation to only trigger when recycling is due in 1 day, and send the notification at say 6pm at night.
This is what I have tried.
Thank you!
alias: Recycling Notification
description: ""
trigger:
- platform: time
at: "18:00:00"
- platform: state
entity_id:
- sensor.recycle
to: recycling in 1 days
condition: []
action:
- service: notify.mobile_app_deans_iphone
data:
message: Recycling
title: Recycling
mode: single