Add fan module (#764)

Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com>
This commit is contained in:
Teemu R
2024-04-17 12:07:16 +02:00
committed by GitHub
parent da441bc697
commit 700643d3cf
8 changed files with 120 additions and 7 deletions

View File

@@ -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: