deCONZ support for new device trigger for Feller EDIZIOdue Friends of hue Switch (#33478)

* deCONZ support for new device trigger for Feller EDIZIOdue Friends of hue Switch

* Rename to general name -friends of hue switch

* translation for top and bottom buttons
pull/34113/head
bqstony 2020-04-12 20:56:04 +02:00 committed by GitHub
parent 4b1626a748
commit 138470d86c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 3 deletions

View File

@ -34,6 +34,8 @@
"device_automation": {
"trigger_subtype": {
"both_buttons": "Beide Tasten",
"top_buttons": "Obere Tasten",
"bottom_buttons" : "Untere Tasten",
"button_1": "Erste Taste",
"button_2": "Zweite Taste",
"button_3": "Dritte Taste",

View File

@ -34,6 +34,8 @@
"device_automation": {
"trigger_subtype": {
"both_buttons": "Both buttons",
"top_buttons": "Top buttons",
"bottom_buttons" : "Bottom buttons",
"button_1": "First button",
"button_2": "Second button",
"button_3": "Third button",

View File

@ -34,6 +34,8 @@
"device_automation": {
"trigger_subtype": {
"both_buttons": "Les deux boutons",
"top_buttons": "sup\u00e9rieurs boutons",
"bottom_buttons" : "inf\u00e9rieurs boutons",
"button_1": "Premier bouton",
"button_2": "Deuxi\u00e8me bouton",
"button_3": "Troisi\u00e8me bouton",

View File

@ -99,8 +99,8 @@ HUE_TAP_REMOTE = {
(CONF_SHORT_PRESS, CONF_BUTTON_4): {CONF_EVENT: 18},
}
SENIC_FRIENDS_OF_HUE_MODEL = "FOHSWITCH"
SENIC_FRIENDS_OF_HUE = {
FRIENDS_OF_HUE_SWITCH_MODEL = "FOHSWITCH"
FRIENDS_OF_HUE_SWITCH = {
(CONF_SHORT_PRESS, CONF_BUTTON_1): {CONF_EVENT: 1000},
(CONF_SHORT_RELEASE, CONF_BUTTON_1): {CONF_EVENT: 1002},
(CONF_LONG_PRESS, CONF_BUTTON_1): {CONF_EVENT: 1001},
@ -304,7 +304,7 @@ REMOTES = {
HUE_DIMMER_REMOTE_MODEL_GEN1: HUE_DIMMER_REMOTE,
HUE_DIMMER_REMOTE_MODEL_GEN2: HUE_DIMMER_REMOTE,
HUE_TAP_REMOTE_MODEL: HUE_TAP_REMOTE,
SENIC_FRIENDS_OF_HUE_MODEL: SENIC_FRIENDS_OF_HUE,
FRIENDS_OF_HUE_SWITCH_MODEL: FRIENDS_OF_HUE_SWITCH,
SYMFONISK_SOUND_CONTROLLER_MODEL: SYMFONISK_SOUND_CONTROLLER,
TRADFRI_ON_OFF_SWITCH_MODEL: TRADFRI_ON_OFF_SWITCH,
TRADFRI_OPEN_CLOSE_REMOTE_MODEL: TRADFRI_OPEN_CLOSE_REMOTE,

View File

@ -83,6 +83,8 @@
"open": "Open",
"close": "Close",
"both_buttons": "Both buttons",
"top_buttons": "Top buttons",
"bottom_buttons" : "Bottom buttons",
"button_1": "First button",
"button_2": "Second button",
"button_3": "Third button",