Changing modal dialog

Hey there,

is it possible to show a custom ui card when clicking on a sensor based badge?

How could this be done? Any suggestions how to start?

Cheers, Nic

Hmm. perhaps, i described the problem not clearly enough.

I´m really new to home assistant and wondering if I could change the modal dialog when clicking on a sensor badge. I have a badge that shows me the count of open windows. When clicking on the badge icon I want o show which windows are open. Could this be done?

You can absolutely do that but it’s more than configuration. You’re looking for the more info dialog/card