I have a somewhat computationally intense template sensor, that I would like to render only when the a certain dashboard (the one displaying some rendering of the template data) is active.
if was hoping to find some condition, I could then use in an If-Else-Endif wrapper around my existing template code body
Furthermore, for usage tracking and other reasons, is there a way to get a list/map/object of all currently displayed dashboards (per user?) as a sensor?
I wonder did you get this working? browser_mod has a browser_path sensor but my browser_path sensor is oftentimes “unavailable” and I don’t know why that happens. It would be great if could work all the time. I have searched and searched on how to trigger an automation based on current view but I can’t find anything.