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:
Steven B
2024-06-25 18:58:07 +01:00
committed by GitHub
parent 0f5bafaa43
commit 07fa0d7a7b
2 changed files with 18 additions and 2 deletions

View File

@@ -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()