Skip to content

Commit

Permalink
Merge pull request #138 from Burki24/patch-1
Browse files Browse the repository at this point in the history
ADD: enum - Z2M.action.177702c6
  • Loading branch information
Schnittcher authored Nov 6, 2023
2 parents 1a5e4dd + 4f08d54 commit 1fee8b7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions libs/Zigbee2MQTTHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2500,6 +2500,19 @@ private function registerVariableProfile($expose)
]);
}
break;
case 'Z2M.action.177702c6':
if (!IPS_VariableProfileExists($ProfileName)) {
$this->RegisterProfileStringEx($ProfileName, 'Information', '', '', [
['hold', $this->Translate('Hold'), '', 0x00FF00],
['on', $this->Translate('On'), '', 0x00FF00],
['off', $this->Translate('Off'), '', 0x00FF00],
['press', $this->Translate('Press'), '', 0x00FF00],
['release', $this->Translate('Release'), '', 0x00FF00],
['skip_backward', $this->Translate('Skip Backward'), '', 0x00FF00],
['skip_forward', $this->Translate('Skip Forward'), '', 0x00FF00]
]);
}
break;
case 'Z2M.action.2593a6d2':
if (!IPS_VariableProfileExists($ProfileName)) {
$this->RegisterProfileStringEx($ProfileName, 'Information', '', '', [
Expand Down

0 comments on commit 1fee8b7

Please sign in to comment.