My goal
I have sensors for AQI and CO2.
I want a succinct way to visualize the air quality so I’d love to have 2 icons, each colored independently based on each sensors and then moved so they “overlap”. Since the icons are different the combination of the 2 on top of each other does work.
E.g. imagine mdi:blur (for AQI) mdi:circle-outline (for CO2)
I can play with use card_mod and translate but while the icon moves very nicely, a blank chip card still takes up space.
I’m not sure if it’s possible to move the entire chip card and not just its icon.
Notice how there is a blank spot where the extra card is. Note: pls ignore the ugly color combinations, I’ll play with those separately to create something nicer.
If you can think of another way to “combine” those two statuses into a single location, happy to try something completely dfferent.
Yes, that names a grid area and then I assign two chips to the same grid area. The grid area can be called anything you want as long as it matches what you assign to then individual cards.
view_layout:
grid-area: a1
For example add b1 and change one of the assigned chips to b1 and you’ll see the overlayed chip shift right. You can see the 5 chips that were previously represented as 4 chips.