mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-12 10:28:01 +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:
@@ -90,7 +90,7 @@ class LightTransition(SmartModule):
|
||||
)
|
||||
)
|
||||
|
||||
def _post_update_hook(self) -> None:
|
||||
async def _post_update_hook(self) -> None:
|
||||
"""Update the states."""
|
||||
# Assumes any device with state in sysinfo supports on and off and
|
||||
# has maximum values for both.
|
||||
|
Reference in New Issue
Block a user