I have a Rheem water heater integrated with HA. When I add its “main” entity to an Entities Card, the card displays the water temperature, and reads “Electric Water Heater … 102°F”
But if I add this same entity to a Glance Card, it displays the label “Electric” instead of the temperature (which I assume is the truncated “name” attribute for this entity (“Electric Water Heater”):
The YAML for both cards is exactly the same. Why is this displayed value different between these 2 card types? More importantly, how can I get the Glance Card to correctly display the temperature and not the name of the Entity?
The “state” value displayed is “Electric”. Setting any of these parameters to false does not cause the card to display the current temperature reported by the water heater and displayed by the Entities Card.
I do not understand what you are trying to convey, or what I need to do differently, sorry. How do I need to change my Glance Card YAML get the entity to display the temperature value?
Entity: water_heater.electric_water_heater
State*: electric
State attributes:
min_temp: 110
max_temp: 140
operation_list:
- 'off'
- electric
current_temperature: null
temperature: 120
target_temp_high: null
target_temp_low: null
operation_mode: electric
friendly_name: Electric Water Heater
supported_features: 3
Something must be returning the value of the “operation_mode” for the Glance Card but returning the “temperature” attribute for the Entities Card?
And then where is the “F” as the unit_of_measurement coming from, it is hard-coded in the Integration, or the definition of the Entities Card? Where exactly are these Cards defined?