I have 10 TRVs which have have temp as an attribute - e.g. climate.living_room.current_temperature. I’d like to be able to show them all on a picture element card of my house. However this isn’t possible without creating a new sensor for each one based on the attribute. I can show the state of the sensor, but I’d like to be able to simply pick an attibute. E.g. this works but shows the word ‘Auto’
- entity: climate.living_room_temp
style:
background: center / contain no-repeat url("/local/temp.png?v=2")
color: white
display: block
font-family: Helvetica
font-size: 9px
left: 15%
overflow: hidden
text-align: center
top: 5%
type: state-label
But what I’d like to be able to do is something like this to just show the attribute value for the current temperature:
- entity: climate.living_room_temp.current_temperature
style:
background: center / contain no-repeat url("/local/temp.png?v=2")
color: white
display: block
font-family: Helvetica
font-size: 9px
left: 15%
overflow: hidden
text-align: center
top: 5%
type: state-label
The benefits for this would be:
Remove the requirement to setup multiple new sensors in the .yaml config (and I think most people are in favour of reducing the amount of yaml editing required).
Remove the requirement to setup 10 (in my case) sensors purely for the purpose of display the details in the card.