Lovelace: Changing what appears when an entitiy is tapped?

Hi guys, is it possible to change which ‘more-info’ card gets opened? For example: I have a temperature card that opens a graph of the recent AC temperature. I would prefer it to open my AC controls instead, is that possible?

Yes it is using browser-mod. See https://github.com/thomasloven/hass-browser_mod#popup

Thanks, not quite what I was after though.

That’s exactly what you are after, just more complicated than you want

1 Like

How would I tell browser mod to display the climate card that come with my thermostat integration when I click, for example - the temperate badge?

Click this…
image

Popup this…

Follow the documentation that @tom_l listed. It’s covered in the “Replacing more-info dialogs” section with multiple examples.

Thanks, I think I understand now. I have to build the more-info card from scratch rather than using an pre-built one though?

Yes, it looks like you’d have to build it from scratch.

I think if you use the more-info service instead of the pop-up service you wont have to rebuild the card: https://github.com/thomasloven/hass-browser_mod#more_info

1 Like

Cheers tom, that looks perfect.