From 1bf7d32544884fea76a509de219bc60cc34cad41 Mon Sep 17 00:00:00 2001 From: Colin Kuebler Date: Wed, 6 Feb 2019 18:51:54 -0500 Subject: [PATCH] Renamed SM16716 Select to SM16716 Enable to avoid confusion with a SM16726 feature also called select --- sonoff/language/bg-BG.h | 2 +- sonoff/language/cs-CZ.h | 2 +- sonoff/language/de-DE.h | 2 +- sonoff/language/el-GR.h | 2 +- sonoff/language/en-GB.h | 2 +- sonoff/language/es-AR.h | 2 +- sonoff/language/fr-FR.h | 2 +- sonoff/language/he-HE.h | 2 +- sonoff/language/hu-HU.h | 2 +- sonoff/language/it-IT.h | 2 +- sonoff/language/nl-NL.h | 2 +- sonoff/language/pl-PL.h | 2 +- sonoff/language/pt-BR.h | 2 +- sonoff/language/pt-PT.h | 2 +- sonoff/language/ru-RU.h | 2 +- sonoff/language/sk-SK.h | 2 +- sonoff/language/sv-SE.h | 2 +- sonoff/language/tr-TR.h | 2 +- sonoff/language/uk-UK.h | 2 +- sonoff/language/zh-CN.h | 2 +- sonoff/language/zh-TW.h | 2 +- sonoff/sonoff_template.h | 4 ++-- 22 files changed, 23 insertions(+), 23 deletions(-) diff --git a/sonoff/language/bg-BG.h b/sonoff/language/bg-BG.h index 3b0aa8a20..b04271a7f 100644 --- a/sonoff/language/bg-BG.h +++ b/sonoff/language/bg-BG.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Активиране на SM16716" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/cs-CZ.h b/sonoff/language/cs-CZ.h index c7cfcd99f..caf213296 100644 --- a/sonoff/language/cs-CZ.h +++ b/sonoff/language/cs-CZ.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Povol SM16716" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/de-DE.h b/sonoff/language/de-DE.h index 74be66eac..2c2b48d5e 100644 --- a/sonoff/language/de-DE.h +++ b/sonoff/language/de-DE.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "SM16716 aktivieren" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/el-GR.h b/sonoff/language/el-GR.h index 03bc7dc4e..faa5f0ec2 100644 --- a/sonoff/language/el-GR.h +++ b/sonoff/language/el-GR.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Ενεργοποίηση SM16716" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/en-GB.h b/sonoff/language/en-GB.h index 249bb66c5..a4acbf38d 100644 --- a/sonoff/language/en-GB.h +++ b/sonoff/language/en-GB.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Enable SM16716" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/es-AR.h b/sonoff/language/es-AR.h index 19988b248..075c8bbf5 100644 --- a/sonoff/language/es-AR.h +++ b/sonoff/language/es-AR.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Habilitar SM16716" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/fr-FR.h b/sonoff/language/fr-FR.h index 27623806d..a75205c26 100644 --- a/sonoff/language/fr-FR.h +++ b/sonoff/language/fr-FR.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Activer SM16716" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/he-HE.h b/sonoff/language/he-HE.h index a4cee77c5..031635c15 100644 --- a/sonoff/language/he-HE.h +++ b/sonoff/language/he-HE.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Enable SM16716" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/hu-HU.h b/sonoff/language/hu-HU.h index 89adb73e6..3d8cc8850 100644 --- a/sonoff/language/hu-HU.h +++ b/sonoff/language/hu-HU.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "SM16716 engedélyezése" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/it-IT.h b/sonoff/language/it-IT.h index 7b0801056..c2b3a60c3 100644 --- a/sonoff/language/it-IT.h +++ b/sonoff/language/it-IT.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Abilita SM16716" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/nl-NL.h b/sonoff/language/nl-NL.h index 6aa5ee7c3..c9a0e4715 100644 --- a/sonoff/language/nl-NL.h +++ b/sonoff/language/nl-NL.h @@ -556,7 +556,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "SM16716 inschakelen" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/pl-PL.h b/sonoff/language/pl-PL.h index fa38c7887..1ad8e5546 100644 --- a/sonoff/language/pl-PL.h +++ b/sonoff/language/pl-PL.h @@ -556,7 +556,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Włącz SM16716" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/pt-BR.h b/sonoff/language/pt-BR.h index af3d10974..e3f61775a 100644 --- a/sonoff/language/pt-BR.h +++ b/sonoff/language/pt-BR.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Habilitar SM16716" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/pt-PT.h b/sonoff/language/pt-PT.h index e868601cb..e9b3c470e 100644 --- a/sonoff/language/pt-PT.h +++ b/sonoff/language/pt-PT.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Enable SM16716" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/ru-RU.h b/sonoff/language/ru-RU.h index b7e079a76..a0a0953e9 100644 --- a/sonoff/language/ru-RU.h +++ b/sonoff/language/ru-RU.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Enable SM16716" // Units #define D_UNIT_AMPERE "А" diff --git a/sonoff/language/sk-SK.h b/sonoff/language/sk-SK.h index 4b14e8c3d..f1e6495c9 100644 --- a/sonoff/language/sk-SK.h +++ b/sonoff/language/sk-SK.h @@ -556,7 +556,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Povoľ SM16716" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/sv-SE.h b/sonoff/language/sv-SE.h index fe8f4231b..961637b35 100644 --- a/sonoff/language/sv-SE.h +++ b/sonoff/language/sv-SE.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Aktivera SM16716" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/tr-TR.h b/sonoff/language/tr-TR.h index a307f84f1..1302595cf 100755 --- a/sonoff/language/tr-TR.h +++ b/sonoff/language/tr-TR.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "SM16716 Aktif" // Units #define D_UNIT_AMPERE "A" diff --git a/sonoff/language/uk-UK.h b/sonoff/language/uk-UK.h index 1ddea2efd..5a2aad11b 100644 --- a/sonoff/language/uk-UK.h +++ b/sonoff/language/uk-UK.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Увімкнений SM16716" // Units #define D_UNIT_AMPERE "А" diff --git a/sonoff/language/zh-CN.h b/sonoff/language/zh-CN.h index c362fd86a..3f24ab2ae 100644 --- a/sonoff/language/zh-CN.h +++ b/sonoff/language/zh-CN.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "启用 SM16716" // Units #define D_UNIT_AMPERE "安" diff --git a/sonoff/language/zh-TW.h b/sonoff/language/zh-TW.h index 105ca749f..be91648d2 100644 --- a/sonoff/language/zh-TW.h +++ b/sonoff/language/zh-TW.h @@ -555,7 +555,7 @@ #define D_SENSOR_CSE7766_RX "CSE7766 Rx" #define D_SENSOR_SM16716_CLK "SM16716 CLK" #define D_SENSOR_SM16716_DAT "SM16716 DAT" -#define D_SENSOR_SM16716_SEL "SM16716 SEL" +#define D_SENSOR_SM16716_POWER "Enable SM16716" // Units #define D_UNIT_AMPERE "安" diff --git a/sonoff/sonoff_template.h b/sonoff/sonoff_template.h index 561750a71..12f9a9241 100644 --- a/sonoff/sonoff_template.h +++ b/sonoff/sonoff_template.h @@ -230,7 +230,7 @@ const char kSensorNames[] PROGMEM = D_SENSOR_BUTTON "1in|" D_SENSOR_BUTTON "2in|" D_SENSOR_BUTTON "3in|" D_SENSOR_BUTTON "4in|" D_SENSOR_NRG_SEL "|" D_SENSOR_NRG_SEL "i|" D_SENSOR_NRG_CF1 "|" D_SENSOR_HLW_CF "|" D_SENSOR_HJL_CF "|" D_SENSOR_MCP39F5_TX "|" D_SENSOR_MCP39F5_RX "|" D_SENSOR_MCP39F5_RST "|" - D_SENSOR_SM16716_CLK "|" D_SENSOR_SM16716_DAT "|" D_SENSOR_SM16716_SEL + D_SENSOR_SM16716_CLK "|" D_SENSOR_SM16716_DAT "|" D_SENSOR_SM16716_POWER ; /********************************************************************************************/ @@ -1892,7 +1892,7 @@ const mytmplt kModules[MAXMODULE] PROGMEM = { 0, // GPIO10 // GPIO11 GPIO_USER, // GPIO12 Alt. White on some devices - GPIO_USER, // GPIO13 SM16716 Select on some devices + GPIO_USER, // GPIO13 SM16716 Enable on some devices GPIO_SM16716_DAT, // GPIO14 SM16716 Data 0, // GPIO15 wired to GND GPIO_USER, // GPIO16 N.C.