stevemann
(Stephen Mann (YAML-challenged))
June 29, 2023, 5:13am
1
I would like to put my thermostat’s current_temperature on a gauge card. How would I do this?
This doesn’t work as it does in an entities card:
- type: gauge
entity: climate.downstairs
attribute: current_temperature
min: 70
max: 80
tom_l
June 29, 2023, 5:37am
2
If you don’t see attribute as an option in the documentation then it is not supported:
The work-around is to create a template sensor from the attribute and use that in the card.
There is very likely a feature request for gauge card attribute support that you could vote for.
Edit:
Hello,
I’ve a boiler with “domestic hot water” sensor that exposes different attribute, such as:
current_temperature: show the current temperature
operation_mode: set to off or auto (show me if the boiler provider or not the hot water)
min_temperature: the minimal temperature setting
max_temperature: the maximum temperature setting
as so on…
I would create a gauge card related the current temperature for this sensor, but if I insert it into a card of type gauge, the UI show me an error rela…
stevemann
(Stephen Mann (YAML-challenged))
June 29, 2023, 6:10am
3
Thanks for the tip- template works. (templating and lambda are my weakest areas of Home Assistant, but I’m working on it).
Offhand, are you aware of any cards like gauge that would allow me to display multiple entities?
tom_l
June 29, 2023, 6:35am
4
stevemann
(Stephen Mann (YAML-challenged))
June 29, 2023, 1:49pm
5
That looks like an awesome card, but I can’t get it to work. Which seems to be normal for most HACS installs that I try. I installed the card through HACS and restarted Home Assistant.
In “Add Card” there is no Horseshoe card, and adding it manually, I get:
Any idea what I did wrong?
tom_l
June 29, 2023, 1:52pm
6
Don’t put -
in front of type
when using the UI.
stevemann
(Stephen Mann (YAML-challenged))
June 29, 2023, 2:23pm
7
Got it. (YAML-challenged, here). That snippet would have worked in a vertical stack card, but trimming the left two columns worked. Now on to play with the optional parameters…