Skip to content

Commit

Permalink
Merge pull request #145 from Burki24/patch-8
Browse files Browse the repository at this point in the history
ADD: enum - Z2M.action.7985b4e3
  • Loading branch information
Schnittcher authored Nov 6, 2023
2 parents edfa4c1 + 56c7a2e commit 92c7f41
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Device/locale.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
"Color Power On Behavior": "Einschaltverhalten der Farbe",
"Color Temperature CCT": "Farbtemperatur CCT",
"Color Temperature Kelvin": "Farbtemperatur Kelvin",
"Color Temperature Move": "Farbtemperatur Ändern",
"Color Temperature RGB Kelvin": "Farbtemperatur RGB Kelvin",
"Color Temperature RGB": "Farbtemperatur RGB",
"Color Temperature Startup CCT": "Start Temperatur CCT",
Expand Down Expand Up @@ -310,6 +311,8 @@
"Honolulu": "Honolulu",
"Horizon": "Horizont",
"Hotel": "Hotel",
"Hue Move": "Hue Ändern",
"Hue Stop": "Hue Stopp",
"Humidity Alarm": "Luftfeuchtigkeits Alarm",
"Humidity Max": "Luftfeuchtigkeitgrenze max",
"Humidity Min": "Luftfeuchtigkeitsgrenze min",
Expand Down Expand Up @@ -402,6 +405,7 @@
"Mountain Breeze": "Bergbrise",
"Mounted Mode Active": "Mounted-Modus aktiv",
"Mounted Mode Control": "Mounted-Modus-Steuerung",
"Move To Saturation": "Sättigung ändern",
"moving backward": "Entfernen",
"moving forward": "Annähern",
"Moving": "Bewegung",
Expand Down
16 changes: 16 additions & 0 deletions libs/Zigbee2MQTTHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2531,6 +2531,22 @@ private function registerVariableProfile($expose)
]);
}
break;
case 'Z2M.action.7985b4e3':
if (!IPS_VariableProfileExists($ProfileName)) {
$this->RegisterProfileStringEx($ProfileName, 'Information', '', '', [
['brightness_move_down', $this->Translate('Brightness move down'), '', 0x00FF00],
['brightness_move_to_level', $this->Translate('Brightness Move To Level'), '', 0x00FF00],
['brightness_move_up', $this->Translate('Brightness move up'), '', 0x00FF00],
['brightness_stop', $this->Translate('Brightness Stop'), '', 0x00FF00],
['color_temperature_move', $this->Translate('Color Temperature Move'), '', 0x00FF00],
['hue_move', $this->Translate('Hue Move'), '', 0x00FF00],
['hue_stop', $this->Translate('Hue Stop'), '', 0x00FF00],
['move_to_saturation', $this->Translate('Move To Saturation'), '', 0x00FF00],
['off', $this->Translate('Off'), '', 0x00FF00],
['on', $this->Translate('On'), '', 0x00FF00]
]);
}
break;
case 'Z2M.action.177702c6':
if (!IPS_VariableProfileExists($ProfileName)) {
$this->RegisterProfileStringEx($ProfileName, 'Information', '', '', [
Expand Down

0 comments on commit 92c7f41

Please sign in to comment.