Combine entities in one Tile Card

Hi,

I am using different thermostats (some from Homematic IP some from SONOFF).

For HomematicIP I can create one Tile Card which displays differnt stats like “current action”, “current temp” and so on.

See upper part of the image

For the SONOFF thermostats this doesn´t seem to be possible.

See lower part of the image

For each entity on the stat content “state” and “last changed” are exposed.

Is there a way to achive the some result like with Homematic IP?

Thanks a lot
Andre

It depends on what the thermostat integration exposes.

How can i find out what it exposes?

You already know.

Nothing.

That’s why there are no features for it.

1 Like

Humidity and temperature are different entities.

image

I am looking for a way to display them in one Tile Card?

Is this possible?

Any ideas?

Add an template helper with those entities and use that

Hi @MISEV, could you please provide a minimalistic sample for combining multiple entities in one entity with multiple states or attributes?

That would be great :slight_smile:

Hi @rokka sure, you can do something like this. Also look add the templating docs for more options Templating - Home Assistant

{{ states('weather.knmi_home') }} - {{ state_attr('weather.knmi_home', 'temperature') }} °C

I have different devices (Wi-Fi and Zigbee plugs, and even the Zigbee plugs are from different manufacturer) and they don’t expose the same thing. I haven’t tried templating, but I guess it’s less convenient and not upgradable (when HA changes their UI for example). Is there a way to expose an entity as an attribute of another entity so that it will work “out of the box”?

Oh and I’ve just checked the template integration. It supports some basic entities like sensor or switch, but not more complex entities :frowning:

Please provide an example of what this means. Templating is VERY capable of handling complex issues.