I have a button and every time I press it I want the Home Assistant to register this. So i can see on card (for example) how much coffee I’ve drunk. and that the counter reset its self to 0 at the end of the day.
so I can see if my coffee addiction grows during the month.
any idea how i can achieve this?
Tips and tricks are welcom!
For now i use a Mi wireless switch.
Home Assistant 2022.9.7
Supervisor 2022.09.1
Operating System 9.0
Frontend 20220907.2 - latest