Async support for Daikin (#21638)
* asyncio support for Daikin * version bump pydaikin * pass session to pydaikin.Appliance * all entities should have update
This commit is contained in:
1 parent
018a5d5c1f
commit
4e84e8a15e
4 files changed
+32
-23
No files matched your search
@@ -96,9 +96,9 @@ class DaikinClimateSensor(Entity):
|
||||
"""Return the unit of measurement."""
|
||||
return self._unit_of_measurement
|
||||
|
||||
def update(self):
|
||||
async def async_update(self):
|
||||
"""Retrieve latest state."""
|
||||
self._api.update()
|
||||
await self._api.async_update()
|
||||
|
||||
@property
|
||||
def device_info(self):
|
||||
|
||||
Reference in new issue
Block a user