Glance vs Entities Card

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”

type: entities
entities:
  - entity: water_heater.electric_water_heater

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”):

type: glance
entities:
  - entity: water_heater.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?

Because glance cards have different options.

type: glance
entities:
  - entity: water_heater.electric_water_heater
show_name: false
show_state: true

My YAML by default had the 3 “show” parameters set to true

show_name: true
show_icon: true
show_state: true
type: glance
entities:
  - entity: water_heater.electric_water_heater
    name: Water Heater

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?

Go to Developer Tools > States. What is the state of your water heater entity?

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?

FYI this is how climate entities render in the two different cards:

Screenshot 2022-07-12 at 07-14-00 Administration – Home Assistant

If that is what you are seeing for the water_heater integration as well than it is working as intended.