mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-06 10:44:04 +00:00
Fix post update hook for iot child devices (#1011)
`_post_update_hook` not being called on child `iot` devices, causing missing emeter features for children
This commit is contained in:
@@ -361,6 +361,9 @@ class IotStripPlug(IotPlug):
|
||||
Needed for properties that are decorated with `requires_update`.
|
||||
"""
|
||||
await self._modular_update({})
|
||||
for module in self._modules.values():
|
||||
module._post_update_hook()
|
||||
|
||||
if not self._features:
|
||||
await self._initialize_features()
|
||||
|
||||
|
Reference in New Issue
Block a user