Bump Pyhiveapi (#50368)
parent
baacf1b787
commit
84984b0223
|
@ -3,7 +3,12 @@
|
|||
"name": "Hive",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/hive",
|
||||
"requirements": ["pyhiveapi==0.4.1"],
|
||||
"codeowners": ["@Rendili", "@KJonline"],
|
||||
"requirements": [
|
||||
"pyhiveapi==0.4.2"
|
||||
],
|
||||
"codeowners": [
|
||||
"@Rendili",
|
||||
"@KJonline"
|
||||
],
|
||||
"iot_class": "cloud_polling"
|
||||
}
|
||||
}
|
|
@ -84,3 +84,4 @@ class HiveDevicePlug(HiveEntity, SwitchEntity):
|
|||
"""Update all Node data from Hive."""
|
||||
await self.hive.session.updateData(self.device)
|
||||
self.device = await self.hive.switch.getSwitch(self.device)
|
||||
self.attributes.update(self.device.get("attributes", {}))
|
||||
|
|
|
@ -139,9 +139,9 @@ class HiveWaterHeater(HiveEntity, WaterHeaterEntity):
|
|||
async def async_hot_water_boost(self, time_period, on_off):
|
||||
"""Handle the service call."""
|
||||
if on_off == "on":
|
||||
await self.hive.hotwater.turnBoostOn(self.device, time_period)
|
||||
await self.hive.hotwater.setBoostOn(self.device, time_period)
|
||||
elif on_off == "off":
|
||||
await self.hive.hotwater.turnBoostOff(self.device)
|
||||
await self.hive.hotwater.setBoostOff(self.device)
|
||||
|
||||
async def async_update(self):
|
||||
"""Update all Node data from Hive."""
|
||||
|
|
|
@ -1446,7 +1446,7 @@ pyheos==0.7.2
|
|||
pyhik==0.2.8
|
||||
|
||||
# homeassistant.components.hive
|
||||
pyhiveapi==0.4.1
|
||||
pyhiveapi==0.4.2
|
||||
|
||||
# homeassistant.components.homematic
|
||||
pyhomematic==0.1.72
|
||||
|
|
|
@ -790,7 +790,7 @@ pyhaversion==21.3.0
|
|||
pyheos==0.7.2
|
||||
|
||||
# homeassistant.components.hive
|
||||
pyhiveapi==0.4.1
|
||||
pyhiveapi==0.4.2
|
||||
|
||||
# homeassistant.components.homematic
|
||||
pyhomematic==0.1.72
|
||||
|
|
Loading…
Reference in New Issue