Skip to content

unfilter on device_class adds 'device_class :' to dev tools state on single entity_id #47

@Mariusthvdb

Description

@Mariusthvdb

Describe the bug
A clear and concise description of what the bug is.

if adding the unfilter to device_class on sensor/binary_sensors, there is 1 entity showing both the regular device_class: in developer-tools/state, And the custom device_class :

as far as I can see, it is only showing on this particular entity, which I can not explain why

Version Custom-attributes
1.0.0 in PR
To Reproduce
Steps to reproduce the behavior:

  1. see description

Expected behavior
A clear and concise description of what you expected to happen.

no extra/fake attributes in attributes column in developer-tools/state

Screenshots

Scherm­afbeelding 2023-12-18 om 10 36 57

Dom Path of attributes dropdown box
No error

Desktop (please complete the following information):

  • OS:2023.12.3
  • Browser Safari
  • Version 17.1.2

The yaml config if applicable

unfilter_attributes:

#special boolean setting for all
# unfilter_all: true #/ false

  by_domain:
# filtered by Home Assistant by default
    binary_sensor:
      - device_class

    sensor:
      - device_class

Additional context

debug in inspector:

{
    "hide": [
        "icon_color",
        "id"
    ],
    "unhide": [
        "device_class"
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions