mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Make iot time timezone aware (#1147)
Also makes on_since for iot devices use device time. Changes the return value for device.timezone to be tzinfo instead of a dict.
This commit is contained in:
@@ -61,7 +61,7 @@ class SmartChildDevice(SmartDevice):
|
||||
self._last_update = await self.protocol.query(req)
|
||||
|
||||
for module in self.modules.values():
|
||||
self._handle_module_post_update(
|
||||
await self._handle_module_post_update(
|
||||
module, now, had_query=module in module_queries
|
||||
)
|
||||
self._last_update_time = now
|
||||
|
Reference in New Issue
Block a user