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:
Fredrik Erlandsson authored and Martin Hjelmare committed 2019-03-14 18:33:43 +01:00
1 parent 018a5d5c1f
commit 4e84e8a15e
4 files changed
+32 -23

No files matched your search

+2 -2
View File
@@ -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):