diff --git a/homeassistant/components/deconz/.translations/de.json b/homeassistant/components/deconz/.translations/de.json index 1b2daecbc4e..d463a64efb6 100644 --- a/homeassistant/components/deconz/.translations/de.json +++ b/homeassistant/components/deconz/.translations/de.json @@ -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", diff --git a/homeassistant/components/deconz/.translations/en.json b/homeassistant/components/deconz/.translations/en.json index 2c9562359f5..4a93d96fdb5 100644 --- a/homeassistant/components/deconz/.translations/en.json +++ b/homeassistant/components/deconz/.translations/en.json @@ -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", diff --git a/homeassistant/components/deconz/.translations/fr.json b/homeassistant/components/deconz/.translations/fr.json index 0c2ecf9edb8..a6eefbcc54c 100644 --- a/homeassistant/components/deconz/.translations/fr.json +++ b/homeassistant/components/deconz/.translations/fr.json @@ -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", diff --git a/homeassistant/components/deconz/device_trigger.py b/homeassistant/components/deconz/device_trigger.py index 654bcfd43db..a146552f14e 100644 --- a/homeassistant/components/deconz/device_trigger.py +++ b/homeassistant/components/deconz/device_trigger.py @@ -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, diff --git a/homeassistant/components/deconz/strings.json b/homeassistant/components/deconz/strings.json index c4ceffd5373..735a9bf58e5 100644 --- a/homeassistant/components/deconz/strings.json +++ b/homeassistant/components/deconz/strings.json @@ -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",