mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Add post update hook to module and use in smart LightEffect (#921)
Adds a post update hook to modules so they can calculate values and collections once rather than on each property access
This commit is contained in:
@@ -41,7 +41,6 @@ class SmartChildDevice(SmartDevice):
|
||||
"""Create a child device based on device info and component listing."""
|
||||
child: SmartChildDevice = cls(parent, child_info, child_components)
|
||||
await child._initialize_modules()
|
||||
await child._initialize_features()
|
||||
return child
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user