benct / lovelace-multiple-entity-row

Show multiple entity states and attributes on entity rows in Home Assistant's Lovelace UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: hide_if mediaquery

LastElf opened this issue · comments

Disclaimer, I'm really bad at design, so feel free to offer a suggestion that can support this if the card won't support mediaquery since there's already card-mod and layout-card that can, but they don't play as nicely in a single stack card.

I'm building a dashboard but I'm trying to add some mobile-friendly support:
image

I'm using custom grid-layout to get the extra-sized card and it scales correctly <800px to put the performance on top, but I would like to be able to either hide extra entities at certain screen thresholds cause if I'm on my phone I only care about uptime/IP cause there's something wrong at the time.

The only other option I can think of is to do a layout-card or browsermod condition but then I need to have the same card twice based on the view and I hate duplicating if I can help it (Though this is all designed without decluttering).