Conversation
|
Hey there @flabbamann, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
| LOGGER.debug("enable smarthome triggers: %s", self.has_triggers) | ||
|
|
||
| self.configuration_url = self.fritz.get_prefixed_host() | ||
| self.configuration_url = self.fritz.base_url |
There was a problem hiding this comment.
the get_prefixed_host() method has been replaced by the base_url property in hthiery/python-fritzhome#126
There was a problem hiding this comment.
Pull request overview
This PR bumps the pyfritzhome library dependency from version 0.6.18 to 0.6.19, which includes an API change where the get_prefixed_host() method has been replaced with a base_url property.
Changes:
- Updated pyfritzhome dependency version to 0.6.19 in manifest and requirements files
- Replaced
get_prefixed_host()method call withbase_urlproperty access in coordinator - Updated test fixture mock to use
base_urlproperty instead ofget_prefixed_host()method
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| homeassistant/components/fritzbox/manifest.json | Updated pyfritzhome requirement to version 0.6.19 |
| requirements_all.txt | Updated pyfritzhome dependency to version 0.6.19 |
| requirements_test_all.txt | Updated pyfritzhome test dependency to version 0.6.19 |
| homeassistant/components/fritzbox/coordinator.py | Changed from calling get_prefixed_host() method to accessing base_url property |
| tests/components/fritzbox/conftest.py | Updated test fixture mock to use base_url property instead of get_prefixed_host() return value |
flabbamann
left a comment
There was a problem hiding this comment.
LGTM 👍 Thank you @mib1185!
Proposed change
release-notes: https://github.com/hthiery/python-fritzhome/releases/tag/0.6.19
diff: hthiery/python-fritzhome@0.6.18...0.6.19
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: