Bump pysensibo to v1.0.6 (#66930)
This commit is contained in:
parent
bce033cfc7
commit
3cbbf90f23
5 changed files with 7 additions and 6 deletions
|
@ -325,12 +325,12 @@ class SensiboClimate(CoordinatorEntity, ClimateEntity):
|
|||
f"Failed to set AC state for device {self.name} to Sensibo servers: {err}"
|
||||
) from err
|
||||
LOGGER.debug("Result: %s", result)
|
||||
if result["status"] == "Success":
|
||||
if result["result"]["status"] == "Success":
|
||||
self.coordinator.data[self.unique_id][AC_STATE_TO_DATA[name]] = value
|
||||
self.async_write_ha_state()
|
||||
return
|
||||
|
||||
failure = result["failureReason"]
|
||||
failure = result["result"]["failureReason"]
|
||||
raise HomeAssistantError(
|
||||
f"Could not set state for device {self.name} due to reason {failure}"
|
||||
)
|
||||
|
|
|
@ -38,7 +38,8 @@ class SensiboDataUpdateCoordinator(DataUpdateCoordinator):
|
|||
|
||||
devices = []
|
||||
try:
|
||||
for dev in await self.client.async_get_devices():
|
||||
data = await self.client.async_get_devices()
|
||||
for dev in data["result"]:
|
||||
devices.append(dev)
|
||||
except (AuthenticationError, SensiboError) as error:
|
||||
raise UpdateFailed from error
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"domain": "sensibo",
|
||||
"name": "Sensibo",
|
||||
"documentation": "https://www.home-assistant.io/integrations/sensibo",
|
||||
"requirements": ["pysensibo==1.0.5"],
|
||||
"requirements": ["pysensibo==1.0.6"],
|
||||
"config_flow": true,
|
||||
"codeowners": ["@andrey-git", "@gjohansson-ST"],
|
||||
"iot_class": "cloud_polling",
|
||||
|
|
|
@ -1818,7 +1818,7 @@ pysaj==0.0.16
|
|||
pysdcp==1
|
||||
|
||||
# homeassistant.components.sensibo
|
||||
pysensibo==1.0.5
|
||||
pysensibo==1.0.6
|
||||
|
||||
# homeassistant.components.serial
|
||||
# homeassistant.components.zha
|
||||
|
|
|
@ -1160,7 +1160,7 @@ pyrituals==0.0.6
|
|||
pyruckus==0.12
|
||||
|
||||
# homeassistant.components.sensibo
|
||||
pysensibo==1.0.5
|
||||
pysensibo==1.0.6
|
||||
|
||||
# homeassistant.components.serial
|
||||
# homeassistant.components.zha
|
||||
|
|
Loading…
Add table
Reference in a new issue