Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tihomir Heidelberg committed Nov 18, 2024
1 parent afa42ff commit 4f97d46
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
12 changes: 5 additions & 7 deletions custom_components/centrometal_boiler/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Support for Centrometa Boiler devices."""

import logging
import datetime
import time
Expand Down Expand Up @@ -73,10 +74,7 @@ async def fire_time_event(target: float) -> None:

await schedule_tick()

for component in PLATFORMS:
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, component)
)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

_LOGGER.debug(
"Centrometal Boiler System component setup finished "
Expand Down Expand Up @@ -121,9 +119,9 @@ async def on_parameter_updated(self, device, param, create=False):

async def start(self):
_LOGGER.debug(f"Starting Centrometal Boiler System {self.username}")
self._hass.data[DOMAIN][self.username][
WEB_BOILER_CLIENT
] = self.web_boiler_client
self._hass.data[DOMAIN][self.username][WEB_BOILER_CLIENT] = (
self.web_boiler_client
)

try:
loggedIn = await self.web_boiler_client.login(self.username, self.password)
Expand Down
4 changes: 2 additions & 2 deletions custom_components/centrometal_boiler/manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"domain": "centrometal_boiler",
"name": "Centrometal Boiler System",
"version": "0.0.49",
"version": "0.0.50",
"config_flow": true,
"documentation": "https://github.com/9a4gl/hass-centrometal-boiler",
"issue_tracker": "https://github.com/9a4gl/hass-centrometal-boiler/issues",
"dependencies": [],
"codeowners": ["@9a4gl"],
"requirements": ["py-centrometal-web-boiler==0.0.56"]
"requirements": ["py-centrometal-web-boiler==0.0.57"]
}
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Centrometal Boiler System",
"render_readme": true,
"homeassistant": "2023.8.0"
"homeassistant": "2024.11.2"
}

0 comments on commit 4f97d46

Please sign in to comment.