How to trigger appdaemon when dashboard is opened

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!

In the meantime, I came up with a solution for the problem.
Instead of using the navigate widget to open the dashboard, I introduced a switch widget.
This widget is refering to an input_boolean entity.
In my appdaemon, I introduced a callback function that deals with the preconditions (in my case reset a message text) first and afterwards it opens the dashboard with the dash_navigate()
By resetting the input_boolean, it behaves like a a navigate widget.