Hi,
I am writing my automation in appdaemon and try to reset certain entity when a specific dashboard is opened.
I thought that listening to an event would be the approach to take.
Is there an event that I can listen to in AD that informs me that a dashboard has been opened?
I tried to listen to event type “hadashboard”. I expected that the callback would be triggered when any dashboard is opened.
But that does not seem to be the case.
self.listen_event(self.callback_open_dash, event='hadashboard')
Or is there a better way ?
Many thanks!