Added a fixture file for KS220M (#273)

* Added motion and light sensor for KS220M

* Added fixture file for ks220m

* Remove dump_devinfo and add the extra queries to devtools/dump_devinfo

* Test KS220M as a dimmer

* Add empty modules to baseproto to make the tests pass

Co-authored-by: mrbetta <bettale@gmail.com>
Co-authored-by: Teemu Rytilahti <tpr@iki.fi>
This commit is contained in:
mrbetta
2022-01-29 10:28:14 -07:00
committed by GitHub
parent 6a31de5381
commit 5bf6fda7ee
4 changed files with 131 additions and 1 deletions

View File

@@ -437,6 +437,8 @@ class FakeTransportProtocol(TPLinkSmartHomeProtocol):
"set_brightness": set_hs220_brightness,
"set_dimmer_transition": set_hs220_dimmer_transition,
},
"smartlife.iot.LAS": {},
"smartlife.iot.PIR": {},
}
async def query(self, request, port=9999):