Skip to content

Commit

Permalink
v0.6.13 (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
simbaja authored Nov 3, 2024
1 parent ccd90ee commit 4726509
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 16 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

# GE Home Appliances (SmartHQ) Changelog

## 0.6.13

- Bugfix: Deprecations [#290] [#297]

## 0.6.12

- Bugfix: Deprecations [#271]
Expand Down
4 changes: 2 additions & 2 deletions custom_components/ge_home/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"integration_type": "hub",
"iot_class": "cloud_push",
"documentation": "https://github.com/simbaja/ha_gehome",
"requirements": ["gehomesdk==0.5.28","magicattr==0.1.6","slixmpp==1.8.3"],
"requirements": ["gehomesdk==0.5.29","magicattr==0.1.6","slixmpp==1.8.3"],
"codeowners": ["@simbaja"],
"version": "0.6.12"
"version": "0.6.13"
}
22 changes: 8 additions & 14 deletions custom_components/ge_home/update_coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
from homeassistant.helpers.entity import Entity
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.util.ssl import get_default_context
from .const import (
DOMAIN,
EVENT_ALL_APPLIANCES_READY,
Expand Down Expand Up @@ -93,6 +94,7 @@ def create_ge_client(
self._password,
self._region,
event_loop=event_loop,
ssl_context=get_default_context()
)
client.add_event_handler(EVENT_APPLIANCE_INITIAL_UPDATE, self.on_device_initial_update)
client.add_event_handler(EVENT_APPLIANCE_UPDATE_RECEIVED, self.on_device_update)
Expand Down Expand Up @@ -176,10 +178,9 @@ async def async_setup(self):
"""Setup a new coordinator"""
_LOGGER.debug("Setting up coordinator")

for component in PLATFORMS:
await self.hass.config_entries.async_forward_entry_setup(
self._config_entry, component
)
await self.hass.config_entries.async_forward_entry_setups(
self._config_entry, PLATFORMS
)

try:
await self.async_start_client()
Expand Down Expand Up @@ -222,15 +223,8 @@ async def async_reset(self):
c()
self._signal_remove_callbacks.clear()

unload_ok = all(
await asyncio.gather(
*[
self.hass.config_entries.async_forward_entry_unload(
entry, component
)
for component in PLATFORMS
]
)
unload_ok = await self.hass.config_entries.async_unload_platforms(
self._config_entry, PLATFORMS
)
return unload_ok

Expand Down Expand Up @@ -283,7 +277,7 @@ async def on_device_update(self, data: Tuple[GeAppliance, Dict[ErdCodeType, Any]
try:
api = self.appliance_apis[appliance.mac_addr]
except KeyError:
_LOGGER.warn(f"Could not find appliance {appliance.mac_addr} in known device list.")
_LOGGER.info(f"Could not find appliance {appliance.mac_addr} in known device list.")
return

self._update_entity_state(api.entities)
Expand Down
10 changes: 10 additions & 0 deletions info.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,16 @@ A/C Controls:
#### Bugfixes


{% if version_installed.split('.') | map('int') < '0.6.13'.split('.') | map('int') %}
- Bugfix: Deprecations [#290] [#297]
{% endif %}


{% if version_installed.split('.') | map('int') < '0.6.12'.split('.') | map('int') %}
- Bugfix: Deprecations [#271]
{% endif %}


{% if version_installed.split('.') | map('int') < '0.6.11'.split('.') | map('int') %}
- Bugfix: Fixed convertable drawer issue (#243)
- Bugfix: Updated app types to include electric cooktops (#252)
Expand Down

0 comments on commit 4726509

Please sign in to comment.