mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Add support for KS205 and KS225 wall switches (#594)
* KS205 Fixture * KS225 Fixture * Added Smart.KasaSwitch device type * Added KS225 to test * Added variable color temp check * Added supported devices to readme * Removed parenthesis * Updated fixtures * Fixed for ruff
This commit is contained in:
@@ -46,7 +46,7 @@ SUPPORTED_DEVICES = SUPPORTED_IOT_DEVICES + SUPPORTED_SMART_DEVICES
|
||||
BULBS_SMART_VARIABLE_TEMP = {"L530E"}
|
||||
BULBS_SMART_COLOR = {"L530E"}
|
||||
BULBS_SMART_LIGHT_STRIP: Set[str] = set()
|
||||
BULBS_SMART_DIMMABLE: Set[str] = set()
|
||||
BULBS_SMART_DIMMABLE = {"KS225"}
|
||||
BULBS_SMART = (
|
||||
BULBS_SMART_VARIABLE_TEMP.union(BULBS_SMART_COLOR)
|
||||
.union(BULBS_SMART_DIMMABLE)
|
||||
@@ -98,7 +98,7 @@ PLUGS_IOT = {
|
||||
"KP401",
|
||||
"KS200M",
|
||||
}
|
||||
PLUGS_SMART = {"P110", "KP125M", "EP25"}
|
||||
PLUGS_SMART = {"P110", "KP125M", "EP25", "KS205"}
|
||||
PLUGS = {
|
||||
*PLUGS_IOT,
|
||||
*PLUGS_SMART,
|
||||
@@ -115,7 +115,7 @@ DIMMERS = {
|
||||
}
|
||||
|
||||
WITH_EMETER_IOT = {"HS110", "HS300", "KP115", "KP125", *BULBS_IOT}
|
||||
WITH_EMETER_SMART = {*PLUGS_SMART}
|
||||
WITH_EMETER_SMART = {"P110", "KP125M", "EP25"}
|
||||
WITH_EMETER = {*WITH_EMETER_IOT, *WITH_EMETER_SMART}
|
||||
|
||||
DIMMABLE = {*BULBS, *DIMMERS}
|
||||
|
Reference in New Issue
Block a user