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
382 stars 90 forks source link

Example code for mobile notification to leave out bins #388

Closed rosscullen closed 2 years ago

rosscullen commented 2 years ago

Before you submit a new bug report, please check that

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

Great project and really flexible. Would be great to see an automation example for mobile notifications of when to leave out the bins. Maybe within the automation to acknowledge that the bins have been left out (or ask me later/snooze for x minutes)

Describe alternatives you've considered

Since the rewrite of the project, I'm not sure that trigger would work best. Maybe x hours after the change of a state?

Thanks

Additional context

No response

bruxy70 commented 2 years ago

I made an Automatoins series on my YT channel, and I think I covered this example in the last part https://youtu.be/gPxzutyPmeI

BTW, the state is alwaws changing at midnight. So no point triggering that x hours after state change, you can trigger it at a specific time right away. Just check the state in the condition.