home-assistant / ui-schema

A schema to define a user interface for Home Assistant.
Apache License 2.0
41 stars 6 forks source link

Glance for climate reports state, not temperature #137

Closed reevery closed 6 years ago

reevery commented 6 years ago

I have a climate unit which glance is showing as state unit_of_measurement. The state is on/off, but the temperature is from another attribute. This therefore doesn't look right. image This is how it shows in state. image

I think the best solution for my requirement would be being able to use templating in the value label, although I would also like to be able to use two lines. However this needs a fix as climate is (in my case, at least) on/off, not a temperature.

c727 commented 6 years ago

create an issue to remove the uom attribute for climate - we don't need it https://github.com/home-assistant/architecture

reevery commented 6 years ago

Ok well in the main frontend it includes the temp, mode, and target temp too, which is (I guess) why it comes through. image