Device_Class Templating Question

I have a device_class question and I am not sure why I am seeing what I am seeing.

I have 4 binary sensors, all motion sensors from different devices. 2 cameras, 1 doorbell and one sensor. Now from my understanding of what I am reading, the UI device_class is what determines he way the state value will be displayed. All 4 are listed as motion class.

So why are the states all different?

image

so

the same.
I think you have a bug in your settings.

Not constructive or helpful but thank you for taking the time to respond.

The topic’s title is:

Device_Class Templating Question

Does that mean you have attempted to use a template in the device_class option for one or more of the four sensors?

Negative. I didn’t even get that far. When I started researching value_templates to fix this I saw that what I was attempting to do which is have them all report data the same way (clear / detected) has been or is being decommissioned in favor of device_class definitions in the UI. See Below:

image
image

Go to Developer Tools > States find the binary_sensors listed above and confirm the value of their device_class property is motion.

For example:

Appreciate the assistance. Here is what dev is saying:

image
image

Is there anything you’ve done in the Entities card? For example, I noticed the friendly_name is Family Room Occupancy but the in the card it’s displayed as Family Room.

type: entities
entities:
  - entity: binary_sensor.living_room_global_motion_sensor
    name: Living Room
    secondary_info: last-changed
  - entity: binary_sensor.doorbell_global_motion_sensor
    name: Doorbell
    secondary_info: last-changed
  - entity: binary_sensor.family_room_occupancy
    secondary_info: last-changed
    name: Family Room
    icon: mdi:motion-sensor
  - entity: binary_sensor.sp_driveway_motion
    name: Driveway
    secondary_info: last-changed
state_color: true

“Have you tried restarting” The IT Crowd
Sorry couldn’t help my self.
Have you tried removing the device & re adding it (if not do the door bell)?
There is also something strange about your “binary_sensor.family_room_occupancy”. It looks like you have over-written the default icon, for some reason (I guess it is an occupancy vs Motion sensor).