mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Add fan module (#764)
Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com>
This commit is contained in:
@@ -49,6 +49,8 @@ class SmartChildDevice(SmartDevice):
|
||||
child_device_map = {
|
||||
"plug.powerstrip.sub-plug": DeviceType.Plug,
|
||||
"subg.trigger.temp-hmdt-sensor": DeviceType.Sensor,
|
||||
"kasa.switch.outlet.sub-fan": DeviceType.Fan,
|
||||
"kasa.switch.outlet.sub-dimmer": DeviceType.Dimmer,
|
||||
}
|
||||
dev_type = child_device_map.get(self.sys_info["category"])
|
||||
if dev_type is None:
|
||||
|
Reference in New Issue
Block a user