Bump Pyhiveapi (#50368)
This commit is contained in:
parent
baacf1b787
commit
84984b0223
5 changed files with 13 additions and 7 deletions
|
@ -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", {}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue