Diagnostic tag not puting sensors in Diagnostic area

I’ve specified some sensors as “diagnostic” but they continue to show in “Sensors” and not the “Diagnostic” area in the Device viewer. Any ideas?

sensor:
  - platform: adc
    pin: ${pin_filter_pressure}
    name: "Filter Pressure (volts)"
    id: filter_pressure_sensor_volts
    device_class: "voltage"
    accuracy_decimals: 3
    update_interval: 10s
    icon: mdi:meter-electric
    entity_category: "diagnostic"

  - platform: copy
    source_id: filter_pressure_sensor_volts
    entity_category: "diagnostic"
    name: "Filter Pressure (PSI)"
    unit_of_measurement: "psi"
    device_class: "pressure"
    accuracy_decimals: 1
    icon: mdi:gauge

Where are the docs on the entity_category key??

Entity | Home Assistant Developer Docs

Do a find on entity_category.

And here:
Device configuration URL and entity categories | Home Assistant Developer Docs

That is developer docs.
It is for making integrations, not for user templates of sensors.

1 Like