Add deCONZ support for Sonoff SNZB-01 switches (#54919)
parent
e2ce1d8b24
commit
5aa6f9dbb2
|
@ -516,6 +516,14 @@ BUSCH_JAEGER_REMOTE = {
|
|||
(CONF_LONG_RELEASE, CONF_BUTTON_8): {CONF_EVENT: 8003},
|
||||
}
|
||||
|
||||
SONOFF_SNZB_01_1_MODEL = "WB01"
|
||||
SONOFF_SNZB_01_2_MODEL = "WB-01"
|
||||
SONOFF_SNZB_01_SWITCH = {
|
||||
(CONF_SHORT_RELEASE, CONF_BUTTON_1): {CONF_EVENT: 1002},
|
||||
(CONF_LONG_RELEASE, CONF_BUTTON_1): {CONF_EVENT: 1003},
|
||||
(CONF_DOUBLE_PRESS, CONF_BUTTON_1): {CONF_EVENT: 1004},
|
||||
}
|
||||
|
||||
TRUST_ZYCT_202_MODEL = "ZYCT-202"
|
||||
TRUST_ZYCT_202_ZLL_MODEL = "ZLL-NonColorController"
|
||||
TRUST_ZYCT_202 = {
|
||||
|
@ -595,6 +603,8 @@ REMOTES = {
|
|||
TRUST_ZYCT_202_ZLL_MODEL: TRUST_ZYCT_202,
|
||||
UBISYS_POWER_SWITCH_S2_MODEL: UBISYS_POWER_SWITCH_S2,
|
||||
UBISYS_CONTROL_UNIT_C4_MODEL: UBISYS_CONTROL_UNIT_C4,
|
||||
SONOFF_SNZB_01_1_MODEL: SONOFF_SNZB_01_SWITCH,
|
||||
SONOFF_SNZB_01_2_MODEL: SONOFF_SNZB_01_SWITCH,
|
||||
}
|
||||
|
||||
TRIGGER_SCHEMA = DEVICE_TRIGGER_BASE_SCHEMA.extend(
|
||||
|
|
Loading…
Reference in New Issue