Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

device_state_attributes is deprecated #1

Closed
xorbital opened this issue Mar 1, 2022 · 1 comment
Closed

device_state_attributes is deprecated #1

xorbital opened this issue Mar 1, 2022 · 1 comment

Comments

@xorbital
Copy link

xorbital commented Mar 1, 2022

Home Assistant 2022.2 throws the following message:

Entity dhl.xxx (<class 'custom_components.dhl.sensor.DHLSensor'>) implements device_state_attributes. Please report it to the custom component author.

Seems like it needs to be renamed to extra_state_attributes: https://community.home-assistant.io/t/warning-that-custom-component-is-using-device-state-attributes/376020/2

@glance-
Copy link
Owner

glance- commented Jun 1, 2023

I solved this a while back when I ran across it myself, but never noted it here, so it's solved with 32e7258 .

@glance- glance- closed this as completed Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants