Skip to content

Commit

Permalink
Bump hahomematic to 2024.8.12 (#707)
Browse files Browse the repository at this point in the history
* Bump hahomematic to 2024.8.12

* Update control_unit.py
  • Loading branch information
SukramJ authored Aug 24, 2024
1 parent f89da1d commit ac11d2c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 19 deletions.
23 changes: 12 additions & 11 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Version 1.65.0 (2024-08-20)

- Bump hahomematic to 2024.8.11
- Add CED for ELV-SH-WUA / HmIP-WUA
- Add UN_IGNORE_WILDCARD to get_parameters
- Avoid excessive memory usage in cache
- Cleanup DeviceDescriptionCache
- Cleanup ParamsetDescriptionCache
- Make HEATING_COOLING visible for thermostats
- Make load only relevant paramset descriptions configurable
- Refactor folder handling
- Refactor get_parameters for unignore_candidates
- Use only relevant IP for XmlRPC Server listening on
- Bump hahomematic to 2024.8.12
- Add additional validation on config parameters
- Add CED for ELV-SH-WUA / HmIP-WUA
- Add UN_IGNORE_WILDCARD to get_parameters
- Avoid excessive memory usage in cache
- Cleanup DeviceDescriptionCache
- Cleanup ParamsetDescriptionCache
- Make HEATING_COOLING visible for thermostats
- Make load only relevant paramset descriptions configurable
- Refactor folder handling
- Refactor get_parameters for unignore_candidates
- Use only relevant IP for XmlRPC Server listening on
- Add HEATING_COOLING translations
- Clear cache on schema migration
- Load al paramset descriptions into cache
Expand Down
15 changes: 9 additions & 6 deletions custom_components/homematicip_local/control_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def _create_central(self) -> CentralUnit:
start_direct=self._start_direct,
un_ignore_list=self._config_data[CONF_ADVANCED_CONFIG].get(CONF_UN_IGNORE),
load_all_paramset_descriptions=True,
).create_central(extended_validation=False)
).create_central()


class ControlUnit(BaseControlUnit):
Expand Down Expand Up @@ -576,14 +576,17 @@ def __init__(
CONF_SYSVAR_SCAN_INTERVAL, DEFAULT_SYSVAR_SCAN_INTERVAL
)

def check_config(self, extended_validation: bool = True) -> None:
def check_config(self) -> None:
"""Check config. Throws BaseHomematicException on failure."""
if config_failures := check_config(
central_name=self.data.get(CONF_INSTANCE_NAME),
username=self.data.get(CONF_USERNAME),
password=self.data.get(CONF_PASSWORD),
central_name=self.data[CONF_INSTANCE_NAME],
host=self.data[CONF_HOST],
username=self.data[CONF_USERNAME],
password=self.data[CONF_PASSWORD],
callback_host=self.data.get(CONF_CALLBACK_HOST),
callback_port=self.data.get(CONF_CALLBACK_PORT),
json_port=self.data.get(CONF_JSON_PORT),
storage_folder=get_storage_folder(self.hass),
extended_validation=extended_validation,
):
failures = ", ".join(config_failures)
raise InvalidConfig(failures)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/homematicip_local/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"iot_class": "local_push",
"issue_tracker": "https://github.com/danielperna84/hahomematic/issues",
"loggers": ["hahomematic"],
"requirements": ["hahomematic==2024.8.11"],
"requirements": ["hahomematic==2024.8.12"],
"ssdp": [
{
"manufacturer": "EQ3",
Expand Down
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-r requirements_test_pre_commit.txt

async-upnp-client==0.40.0
hahomematic==2024.8.11
hahomematic==2024.8.12
homeassistant==2024.8.2
mypy==1.11.1
mypy-dev==1.11.0a9
Expand Down

0 comments on commit ac11d2c

Please sign in to comment.