I am trying to display the current state of my Air con, but can only get a list of attributes from hvac_modes. See attached image.
I don’t have a separate hvac_mode attribute, only modes.
Is there a way to display it?
I can get the state in the templates via {{ states('climate.daikin_ac') }}, this returns “Heat”, but not sure how to display in the card.
It certainly doesn’t have an hvac_action attribute. Therefore the only thing it can report is its current hvac_mode , in its state value (according to your screenshot, it is currently off).
If it did have an hvac_action attribute, it could report, for example, that its mode is heat and its action is idle which means its in heat mode but it’s not currently heating but idle.
That’s what I want to see somehow in the entity card. But I do not want to see all available modes (as on my first picture) I want to see the current state only - eg. Heat or OFF and nothing extra.
I can get the current stati with the template using {{ states('climate.daikin_ac') }} but not sure how to put it into the card.
I don’t want to use a template, this is just to show that there is a way to get the current state of the entity or it’s attribute, but I cannot find a way to display it on the entity card.
The reason why I need this is that it’s difficult to understand sometimes what the default Thermostat card is showing. I use it every day but sometimes it confuses and takes time to see if aircon is off or idle or running. I am getting used to it, but as I am not the only user of the system in my house I want to make it simple for everyone.
What if you create a text helper with a name A/C mode and set it’s value with an automation everytime the AC mode changes (set the helper value to {{states(‘climate.daikin_ac’)}} ) and then use this helper as an entity to show on your card?
That is a great idea, maybe not ideal but works for me. Never used helpers before, good to know
The only thing is - is it possible to make it not as an input box, just a text value:
Make a Template Sensor, called sensor.daikin_ac, that displays the state of climate.daikin_ac. Then add sensor.daikin_ac to your existing Entities card.