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

DWDWeather is overriding deprecated methods on an instance of WeatherEntity, this is not valid and will be unsupported from Home Assistant 2023.1 #58

Closed
FaserF opened this issue Jul 6, 2022 · 5 comments

Comments

@FaserF
Copy link

FaserF commented Jul 6, 2022

Version of home_assistant

HA 2022.07.0 Running on the latest HA OS

Version of the custom_component

1.2.22

Describe the bug

A clear and concise description of what the bug or error is and when it happens.

Log warning about deprecating feature. This „bug“ is low priority and more a hint from my side from the logs, coming with the newest HA release.

Debug log


Logger: homeassistant.components.weather
Source: components/weather/__init__.py:308 
Integration: Weather (documentation, issues) 
First occurred: 22:04:44 (1 occurrences) 
Last logged: 22:04:44

custom_components.dwd_weather.weather::DWDWeather is overriding deprecated methods on an instance of WeatherEntity, this is not valid and will be unsupported from Home Assistant 2023.1. Please report it to the custom component author.

@FL550
Copy link
Owner

FL550 commented Sep 3, 2022

Is anyone still having this message? I am unable to reproduce the error message.

@DeepCoreSystem
Copy link

Yes, I am having this message each time I restart Home Assistant.
It seems that it does get logged only once when HA reloads the component.
I did right now a restart, here is a copy of the log entry:

Logger: homeassistant.components.weather
Source: components/weather/__init__.py:198
Integration: Weather (documentation, issues)
First occurred: 13:25:14 (1 occurrences)
Last logged: 13:25:14

custom_components.dwd_weather.weather::DWDWeather is overriding deprecated methods on an instance of WeatherEntity, this is not valid and will be unsupported from Home Assistant 2023.1. Please report it to the custom integration author.

This is the actual setup I use:

DWD V1.2.22
Home Assistant 2022.8.7 
Supervisor 2022.08.5
Operating System 8.5
Frontend 20220802.0 - latest 

@FL550
Copy link
Owner

FL550 commented Sep 3, 2022

Thanks for your quick answer. I'll fix this today

@FL550
Copy link
Owner

FL550 commented Sep 3, 2022

Update is out, this should resolve the message.

@bcutter
Copy link

bcutter commented Sep 3, 2022

Update is out, this should resolve the message.

Well... that introduced this, probably need to create a separate issue for that?

grafik

Update: see #60.

@FL550 FL550 closed this as completed Sep 3, 2022
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

4 participants