mirror of
https://github.com/home-assistant/core.git
synced 2025-04-29 11:47:50 +00:00
Bump pysensibo to v1.0.6 (#66930)
This commit is contained in:
parent
bce033cfc7
commit
3cbbf90f23
@ -325,12 +325,12 @@ class SensiboClimate(CoordinatorEntity, ClimateEntity):
|
|||||||
f"Failed to set AC state for device {self.name} to Sensibo servers: {err}"
|
f"Failed to set AC state for device {self.name} to Sensibo servers: {err}"
|
||||||
) from err
|
) from err
|
||||||
LOGGER.debug("Result: %s", result)
|
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.coordinator.data[self.unique_id][AC_STATE_TO_DATA[name]] = value
|
||||||
self.async_write_ha_state()
|
self.async_write_ha_state()
|
||||||
return
|
return
|
||||||
|
|
||||||
failure = result["failureReason"]
|
failure = result["result"]["failureReason"]
|
||||||
raise HomeAssistantError(
|
raise HomeAssistantError(
|
||||||
f"Could not set state for device {self.name} due to reason {failure}"
|
f"Could not set state for device {self.name} due to reason {failure}"
|
||||||
)
|
)
|
||||||
|
@ -38,7 +38,8 @@ class SensiboDataUpdateCoordinator(DataUpdateCoordinator):
|
|||||||
|
|
||||||
devices = []
|
devices = []
|
||||||
try:
|
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)
|
devices.append(dev)
|
||||||
except (AuthenticationError, SensiboError) as error:
|
except (AuthenticationError, SensiboError) as error:
|
||||||
raise UpdateFailed from error
|
raise UpdateFailed from error
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"domain": "sensibo",
|
"domain": "sensibo",
|
||||||
"name": "Sensibo",
|
"name": "Sensibo",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/sensibo",
|
"documentation": "https://www.home-assistant.io/integrations/sensibo",
|
||||||
"requirements": ["pysensibo==1.0.5"],
|
"requirements": ["pysensibo==1.0.6"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"codeowners": ["@andrey-git", "@gjohansson-ST"],
|
"codeowners": ["@andrey-git", "@gjohansson-ST"],
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
|
@ -1818,7 +1818,7 @@ pysaj==0.0.16
|
|||||||
pysdcp==1
|
pysdcp==1
|
||||||
|
|
||||||
# homeassistant.components.sensibo
|
# homeassistant.components.sensibo
|
||||||
pysensibo==1.0.5
|
pysensibo==1.0.6
|
||||||
|
|
||||||
# homeassistant.components.serial
|
# homeassistant.components.serial
|
||||||
# homeassistant.components.zha
|
# homeassistant.components.zha
|
||||||
|
@ -1160,7 +1160,7 @@ pyrituals==0.0.6
|
|||||||
pyruckus==0.12
|
pyruckus==0.12
|
||||||
|
|
||||||
# homeassistant.components.sensibo
|
# homeassistant.components.sensibo
|
||||||
pysensibo==1.0.5
|
pysensibo==1.0.6
|
||||||
|
|
||||||
# homeassistant.components.serial
|
# homeassistant.components.serial
|
||||||
# homeassistant.components.zha
|
# homeassistant.components.zha
|
||||||
|
Loading…
x
Reference in New Issue
Block a user