-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
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
Update hdate dependency to 1.0.3 #137247
base: dev
Are you sure you want to change the base?
Update hdate dependency to 1.0.3 #137247
Conversation
d565704
to
0013d1c
Compare
@@ -87,6 +87,7 @@ class JewishCalendarConfigFlow(ConfigFlow, domain=DOMAIN): | |||
"""Handle a config flow for Jewish calendar.""" | |||
|
|||
VERSION = 1 | |||
MINOR_VERSION = 1 |
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.
what's this change for? 1 is the default, so this doesn't change anything
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.
I though default would be 0. Changed to 2.
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
@zweckj mind re-reviewing? |
if config_entry.version > 1: | ||
# This means the user has downgraded from a future version | ||
return False |
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.
if config_entry.version > 1: | |
# This means the user has downgraded from a future version | |
return False | |
if config_entry.version > 1 or config_entry.minor_version > 1: | |
# This means the user has downgraded from a future version | |
return False |
if config_entry.version == 1: | ||
if config_entry.minor_version > 1: | ||
return False |
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.
if config_entry.version == 1: | |
if config_entry.minor_version > 1: | |
return False |
Breaking change
py-libhdate/py-libhdate@v0.11.1...v1.0.3
Holiday sensor:
The above might break an automation that looks at the value of the holiday state, for one of these days.
Proposed change
Type of change
Additional information
Checklist
ruff format 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
.To help with the load of incoming pull requests: