New Tile Dashboard - Combine Switch with Power consumption

Hi everyone,

I’m currently playing around with the new sections dashboard and have found a situation where I need help :slight_smile:

I built a dashboard where I can see all of my plugs. All of them Tasmota-Devices.

grafik

Here for example you can see all plugs in the living room. Is there a way to combine the switch entitiy with the power consumption entitiy, so that it is shown instead of the state (On/Off). I found a topic where I combine the power consumption entitiy with an (service-)action, which toggles the device. But in this scenario I can’t see the device state (On/Off) in the icon. It always show the icon and doesn’t change the color (yellow for example for powered on).

Is there a way to archive this? Would make the dashboard way more informative :slight_smile:

Here’s my test:

I look forward to hearing your ideas :slight_smile:

this can be achieved quite easily with mushroom template card, I do something similar with mine.
although it’s not a tile card.

I just have a daily energy cost / Usage and last updated so I know I’ve got the most upto date reading.

1 Like

Sorry for my late answer, I wasn’t notified about your reply :frowning:

In the meantime I found a solution with the “custom:multiple-entity-row”, this works very well.

But I will also have a look at the mushroom template card for cards where more data is needed. Thank you!

1 Like


I am using cardmod.

type: tile
entity: switch.robot_plug
icon: mdi:robot-vacuum
card_mod:
  style:
    ha-tile-info$: |
      .secondary:after {
        visibility: visible;
        content: " ⸱ {{ states('sensor.robot_plug_current_consumption') }} W";
      }
2 Likes