Open dinki opened 3 weeks ago
Okay, so I think the answer is "yes" -- it just requires registering the hassmic device as a "timer device" (code here) and then registering a "timer event handler" (esphome's example).
That's all pretty straightforward. The less straightforward part is what to do with the timer events when they come in. Update a sensor? fire an event? I'm not really sure.
Unfortunately I don't know. Let me ask Mike if he can share the code that allows for showing these timers on a web page.
Sent him a message. Take a look at th edemo video from a while back: https://www.youtube.com/watch?v=tdYElUaxfNI
https://www.home-assistant.io/blog/2024/06/26/voice-chapter-7/#timers-are-here
Adding this functionality would make life easier and would allow for using built in HA functionality which will probably be supported better than homebrewed code (eg View Assist timers blueprint).