mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-07 11:14:02 +00:00
Add ColorModule for smart devices (#840)
Adds support L530 hw_version 1.0
This commit is contained in:
@@ -167,7 +167,8 @@ class SmartDevice(Device):
|
||||
mod.__name__,
|
||||
)
|
||||
module = mod(self, mod.REQUIRED_COMPONENT)
|
||||
self.modules[module.name] = module
|
||||
if await module._check_supported():
|
||||
self.modules[module.name] = module
|
||||
|
||||
async def _initialize_features(self):
|
||||
"""Initialize device features."""
|
||||
|
Reference in New Issue
Block a user