bruxy70 / Garbage-Collection

🗑 Custom Home Assistant sensor for scheduling garbage collection (or other regularly re-occurring events - weekly on given days, semi-weekly or monthly)
MIT License
383 stars 90 forks source link

Help with automation to manually update next collection date from input_datetime #450

Closed cromelex closed 1 year ago

cromelex commented 1 year ago

Before you submit a new bug report, please check that

Write your question here

Hi,

Wondering if anyone can help me with something.

Been using this for a while with my regular collections, but my glass collection is on a really odd schedule, kind of a random date every 3 months, but not following any pattern.

I have seen the automation to add a date. I was wondering how to change it so it could load the date from a input_datetime helper?

alias: garbage_collection event description: "Manually add a collection date, then trigger entity state update." trigger:

I have tried it via "{{ state.input_datetime.glass }}" etc but I can't seem to figure it out. I am guessing this could be useful for other people as well, ie if they are scrapping specific dates from a website they could just update a helper and have the automation blue print update it from there.

Thank you in advance, Best regards, Daniel

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity in last 30 days. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.