Add deCONZ support for Legrand Self-e ZGP switches (#53008)

* Add deCONZ support for Legrand Self-e ZGP switches

Legrand Self-e ZLGP17 (0 677 23L)
Legrand Self-e ZLGP18 (0 677 24L)

* Add the 4 scenes switch (ZLGP15)

and update the model name of the toggle switch

* Update events
pull/53636/head
Frederic Seiler 2021-07-28 18:54:19 +02:00 committed by GitHub
parent 419bcd939b
commit 52df6a6558
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

View File

@ -450,6 +450,20 @@ GIRA_JUNG_SWITCH = {
(CONF_SHORT_RELEASE, CONF_BUTTON_8): {CONF_EVENT: 8002},
}
LEGRAND_ZGP_TOGGLE_SWITCH_MODEL = "LEGRANDZGPTOGGLESWITCH"
LEGRAND_ZGP_TOGGLE_SWITCH = {
(CONF_SHORT_PRESS, CONF_TURN_ON): {CONF_EVENT: 1002},
(CONF_DOUBLE_PRESS, CONF_TURN_ON): {CONF_EVENT: 1004},
}
LEGRAND_ZGP_SCENE_SWITCH_MODEL = "LEGRANDZGPSCENESWITCH"
LEGRAND_ZGP_SCENE_SWITCH = {
(CONF_SHORT_PRESS, CONF_BUTTON_1): {CONF_EVENT: 1002},
(CONF_SHORT_PRESS, CONF_BUTTON_2): {CONF_EVENT: 2002},
(CONF_SHORT_PRESS, CONF_BUTTON_3): {CONF_EVENT: 3002},
(CONF_SHORT_PRESS, CONF_BUTTON_4): {CONF_EVENT: 4002},
}
LIDL_SILVERCREST_DOORBELL_MODEL = "HG06668"
LIDL_SILVERCREST_DOORBELL = {
(CONF_SHORT_PRESS, ""): {CONF_EVENT: 1002},
@ -569,6 +583,8 @@ REMOTES = {
GIRA_JUNG_SWITCH_MODEL: GIRA_JUNG_SWITCH,
GIRA_SWITCH_MODEL: GIRA_JUNG_SWITCH,
JUNG_SWITCH_MODEL: GIRA_JUNG_SWITCH,
LEGRAND_ZGP_TOGGLE_SWITCH_MODEL: LEGRAND_ZGP_TOGGLE_SWITCH,
LEGRAND_ZGP_SCENE_SWITCH_MODEL: LEGRAND_ZGP_SCENE_SWITCH,
LIDL_SILVERCREST_DOORBELL_MODEL: LIDL_SILVERCREST_DOORBELL,
LIGHTIFIY_FOUR_BUTTON_REMOTE_MODEL: LIGHTIFIY_FOUR_BUTTON_REMOTE,
LIGHTIFIY_FOUR_BUTTON_REMOTE_4X_MODEL: LIGHTIFIY_FOUR_BUTTON_REMOTE,