mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Add P304M(UK) test fixture (#1185)
P304M supports energy monitoring on child SMART devices.
This commit is contained in:
@@ -108,7 +108,7 @@ SWITCHES_SMART = {
|
||||
}
|
||||
SWITCHES = {*SWITCHES_IOT, *SWITCHES_SMART}
|
||||
STRIPS_IOT = {"HS107", "HS300", "KP303", "KP200", "KP400", "EP40"}
|
||||
STRIPS_SMART = {"P300", "TP25"}
|
||||
STRIPS_SMART = {"P300", "P304M", "TP25"}
|
||||
STRIPS = {*STRIPS_IOT, *STRIPS_SMART}
|
||||
|
||||
DIMMERS_IOT = {"ES20M", "HS220", "KS220M", "KS230", "KP405"}
|
||||
@@ -123,7 +123,7 @@ SENSORS_SMART = {"T310", "T315", "T300", "T100", "T110"}
|
||||
THERMOSTATS_SMART = {"KE100"}
|
||||
|
||||
WITH_EMETER_IOT = {"HS110", "HS300", "KP115", "KP125", *BULBS_IOT}
|
||||
WITH_EMETER_SMART = {"P110", "P115", "KP125M", "EP25"}
|
||||
WITH_EMETER_SMART = {"P110", "P115", "KP125M", "EP25", "P304M"}
|
||||
WITH_EMETER = {*WITH_EMETER_IOT, *WITH_EMETER_SMART}
|
||||
|
||||
DIMMABLE = {*BULBS, *DIMMERS}
|
||||
|
2262
kasa/tests/fixtures/smart/P304M(UK)_1.0_1.0.3.json
vendored
Normal file
2262
kasa/tests/fixtures/smart/P304M(UK)_1.0_1.0.3.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user