mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-01-08 22:07:06 +00:00
Add support for Tapo hub-attached switch devices (#1421)
Required for #1419 and #1418
This commit is contained in:
parent
e097b45984
commit
6e0be2ea1f
@ -24,6 +24,7 @@ class SmartChildDevice(SmartDevice):
|
||||
|
||||
CHILD_DEVICE_TYPE_MAP = {
|
||||
"plug.powerstrip.sub-plug": DeviceType.Plug,
|
||||
"subg.plugswitch.switch": DeviceType.WallSwitch,
|
||||
"subg.trigger.contact-sensor": DeviceType.Sensor,
|
||||
"subg.trigger.temp-hmdt-sensor": DeviceType.Sensor,
|
||||
"subg.trigger.water-leak-sensor": DeviceType.Sensor,
|
||||
|
Loading…
Reference in New Issue
Block a user