Skip to content

Commit

Permalink
Merge pull request #184 from Burki24/main
Browse files Browse the repository at this point in the history
ADD: Z2M.action.49455f77
  • Loading branch information
Schnittcher authored Apr 11, 2024
2 parents 5a884ed + 0cbe086 commit a4b9eeb
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Device/locale.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,20 @@
"Brightness L2": "Helligkeit L2",
"Brightness Level": "Helligkeitsgrad",
"Brightness move down": "Helligkeit senken",
"Brightness Move Down 1": "Helligkeit Schrittweise senken 1",
"Brightness Move Down 2": "Helligkeit Schrittweise senken 2",
"Brightness Move To Level": "Helligkeit auf Wert setzen",
"Brightness move up": "Helligkeit erhöhen",
"Brightness Move Up 1": "Helligkeit Schrittweise erhöhen 1",
"Brightness Move Up 2": "Helligkeit Schrittweise erhöhen 2",

"Brightness RGB": "Helligkeit RGB",
"Brightness State": "Helligkeitszustand",
"Brightness Step Down": "Helligkeit Schrittweise senken",
"Brightness Step Up": "Hellgikeit Schrittweise erhöhen",
"Brightness Stop": "Helligkeit Stopp",
"Brightness Move Stop 1": "Helligkeit Schrittweise Stopp 1",
"Brightness Move Stop 2": "Helligkeit Schrittweise Stopp 2",
"Brightness Up Click": "Helligkeit erhöhen Drücken",
"Brightness Up click": "Helligkeit erhöhen gedrückt",
"Brightness Up Hold": "Helligkeit erhöhen Halten",
Expand Down Expand Up @@ -502,13 +509,17 @@
"Off Press Release": "Aus losgelassen",
"Off Press": "Aus gedrückt",
"Off": "Aus",
"Off 1": "Aus 1",
"Off 2": "Aus 2",
"Off/On": "Aus/An",
"Office": "Büro",
"On Hold Release": "An losgelassen",
"On Hold": "An halten",
"On Press Release": "An losgelassen",
"On Press": "An gedrückt",
"On": "An",
"On 1": "An 1",
"On 2": "An 2",
"On/Off": "An/Aus",
"Online": "Online",
"Open window detected": "Offenes Fenster entdeckt",
Expand Down
16 changes: 16 additions & 0 deletions libs/Zigbee2MQTTHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2837,6 +2837,22 @@ private function registerVariableProfile($expose)
]);
}
break;
case 'Z2M.action.49455f77':
if (!IPS_VariableProfileExists($ProfileName)) {
$this->RegisterProfileStringEx($ProfileName, 'Information', '', '', [
['brightness_move_down_1', $this->Translate('Brightness Move Down 1'), '', 0x00FF00],
['brightness_move_down_2', $this->Translate('Brightness Move Down 2'), '', 0x00FF00],
['brightness_move_stop_1', $this->Translate('Brightness Move Stop 1'), '', 0x00FF00],
['brightness_move_stop_2', $this->Translate('Brightness Move Stop 2'), '', 0x00FF00],
['brightness_move_up_1', $this->Translate('Brightness Move Up 1'), '', 0x00FF00],
['brightness_move_up_2', $this->Translate('Brightness Move Up 2'), '', 0x00FF00],
['off_1', $this->Translate('Off 1'), '', 0x00FF00],
['off_2', $this->Translate('Off 2'), '', 0x00FF00],
['on_1', $this->Translate('On 1'), '', 0x00FF00],
['on_2', $this->Translate('On 2'), '', 0x00FF00]
]);
}
break;
case 'Z2M.action.177702c6':
if (!IPS_VariableProfileExists($ProfileName)) {
$this->RegisterProfileStringEx($ProfileName, 'Information', '', '', [
Expand Down

0 comments on commit a4b9eeb

Please sign in to comment.