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
Add deprecation to legacy forecast for Weather #97294
Conversation
Hey there @home-assistant/core, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could open an issue like we do here:
core/homeassistant/components/vacuum/__init__.py
Lines 385 to 398 in bf66dc7
ir.async_create_issue( | |
hass, | |
DOMAIN, | |
f"deprecated_vacuum_base_class_{self.platform.platform_name}", | |
breaks_in_ha_version="2024.2.0", | |
is_fixable=False, | |
is_persistent=False, | |
issue_domain=self.platform.platform_name, | |
severity=ir.IssueSeverity.WARNING, | |
translation_key="deprecated_vacuum_base_class", | |
translation_placeholders={ | |
"platform": self.platform.platform_name, | |
}, | |
) |
7d370a4
to
6f5a9ee
Compare
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
5c16599
to
1b668a2
Compare
dd92a14
to
da4a125
Compare
tests/testing_config/custom_components/test_weather/__init__.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @gjohansson-ST 👍
Let's clean up the tests as discussed in discord in a follow-up
Proposed change
Adds deprecation notice to
weather
for legacyforecast
attributesType of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.To help with the load of incoming pull requests: