Add KL60 US KP105 UK fixture (#233)

* Add KL60 US fixture

* Add KP105 UK fixture

* update test
This commit is contained in:
J. Nick Koston 2021-10-09 04:44:32 -10:00 committed by GitHub
parent e06b9a71e5
commit cf151ead4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 20 deletions

View File

@ -40,7 +40,7 @@ BULBS = {
}
PLUGS = {"HS100", "HS103", "HS105", "HS110", "HS200", "HS210", "EP10", "KP115"}
PLUGS = {"HS100", "HS103", "HS105", "HS110", "HS200", "HS210", "EP10", "KP115", "KP105"}
STRIPS = {"HS107", "HS300", "KP303", "KP400", "EP40"}
DIMMERS = {"HS220"}

View File

@ -3,28 +3,26 @@
"get_realtime": {
"current_ma": 0,
"err_code": 0,
"power_mw": 0,
"power_mw": 5200,
"total_wh": 0,
"voltage_mv": 0
}
},
"smartlife.iot.smartbulb.lightingservice": {
"get_light_state": {
"dft_on_state": {
"brightness": 69,
"color_temp": 2000,
"hue": 0,
"mode": "normal",
"saturation": 0
},
"brightness": 100,
"color_temp": 2000,
"err_code": 0,
"on_off": 0
"hue": 0,
"mode": "normal",
"on_off": 1,
"saturation": 0
}
},
"system": {
"get_sysinfo": {
"active_mode": "none",
"alias": "Fil",
"alias": "Gold fil",
"ctrl_protocols": {
"name": "Linkie",
"version": "1.0"
@ -42,14 +40,12 @@
"is_variable_color_temp": 0,
"latitude_i": 0,
"light_state": {
"dft_on_state": {
"brightness": 69,
"color_temp": 2000,
"hue": 0,
"mode": "normal",
"saturation": 0
},
"on_off": 0
"brightness": 100,
"color_temp": 2000,
"hue": 0,
"mode": "normal",
"on_off": 1,
"saturation": 0
},
"longitude_i": 0,
"mic_mac": "000000000000",
@ -86,7 +82,7 @@
"saturation": 0
}
],
"rssi": -55,
"rssi": -41,
"status": "new",
"sw_ver": "1.1.13 Build 210524 Rel.082619"
}

View File

@ -0,0 +1,33 @@
{
"system": {
"get_sysinfo": {
"active_mode": "none",
"alias": "Uk plug",
"dev_name": "Smart Wi-Fi Plug",
"deviceId": "0000000000000000000000000000000000000000",
"err_code": 0,
"feature": "TIM",
"hwId": "00000000000000000000000000000000",
"hw_ver": "1.0",
"icon_hash": "",
"latitude_i": 0,
"led_off": 0,
"longitude_i": 0,
"mac": "00:00:00:00:00:00",
"mic_type": "IOT.SMARTPLUGSWITCH",
"model": "KP105(UK)",
"next_action": {
"type": -1
},
"ntc_state": 0,
"obd_src": "tplink",
"oemId": "00000000000000000000000000000000",
"on_time": 0,
"relay_state": 0,
"rssi": -48,
"status": "new",
"sw_ver": "1.0.7 Build 210506 Rel.153510",
"updating": 0
}
}
}