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

Replace Entity.device_state_attributes with Entity.extra_state_attributes #82

Merged
merged 5 commits into from
Dec 20, 2021
Merged

Conversation

ReneNulschDE
Copy link
Contributor

With HA 2021.12, Entity.device_state_attributes is deprecated and the following warning is shown in the log:

2021-11-22 08:27:56 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.washing_machine_status (<class 'custom_components.miele.sensor.MieleStatusSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-11-22 08:28:01 WARNING (MainThread) [homeassistant.helpers.entity] Entity miele.washing_machine (<class 'custom_components.miele.MieleDevice'>) implements device_state_attributes. Please report it to the custom component author.

The PR will replace Entity.device_state_attributes with Entity.extra_state_attributes.

@gigatexel
Copy link
Contributor

@ReneNulschDE is the developer maintaining this repository still active?

@kloknibor
Copy link
Contributor

@gigatexel I am still here. I have just been swamped and been abroad for work a lot lately. Since this is just a opensource project without profit it is not my biggest priority. So my apologies that updates are a bit slow. I'll try to check this PR this week.

@kloknibor kloknibor changed the base branch from master to dev December 20, 2021 17:35
@kloknibor kloknibor merged commit 0a625c9 into HomeAssistant-Mods:dev Dec 20, 2021
@gigatexel
Copy link
Contributor

thanks for all you effort, really!

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

Successfully merging this pull request may close these issues.

None yet

3 participants