From b15576d1364f434f5fac254ccaa76e11ccc20328 Mon Sep 17 00:00:00 2001 From: Burkhard Kneiseler Date: Sat, 12 Aug 2023 10:09:18 +0200 Subject: [PATCH 1/3] Fix: Z2M.action.869d1272 & Z2M.action.ec8cf04f add additional exposes --- libs/Zigbee2MQTTHelper.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/Zigbee2MQTTHelper.php b/libs/Zigbee2MQTTHelper.php index 75023dd4..e5c5103c 100644 --- a/libs/Zigbee2MQTTHelper.php +++ b/libs/Zigbee2MQTTHelper.php @@ -2320,15 +2320,19 @@ private function registerVariableProfile($expose) if (!IPS_VariableProfileExists($ProfileName)) { $this->RegisterProfileStringEx($ProfileName, 'Information', '', '', [ ['on_press', $this->Translate('On Press'), '', 0x00FF00], + ['on_press_release', $this->Translate('On Press Release'), '', 0x00FF00], ['on_hold', $this->Translate('On Hold'), '', 0x00FF00], ['on_hold_release', $this->Translate('On Hold Release'), '', 0x00FF00], ['up_press', $this->Translate('Up Press'), '', 0x00FF00], + ['up_press_release', $this->Translate('Up Press Release'), '', 0x00FF00], ['up_hold', $this->Translate('Up Hold'), '', 0x00FF00], ['up_hold_release', $this->Translate('Up Hold Release'), '', 0x00FF00], ['down_press', $this->Translate('Down Press'), '', 0x00FF00], + ['down_press_release', $this->Translate('Down Press Release'), '', 0x00FF00], ['down_hold', $this->Translate('Down Hold'), '', 0x00FF00], ['down_hold_release', $this->Translate('Down Hold Release'), '', 0x00FF00], ['off_press', $this->Translate('Off Press'), '', 0x00FF00], + ['off_press_release', $this->Translate('Off Press Release'), '', 0x00FF00], ['off_hold', $this->Translate('Off Hold'), '', 0x00FF00], ['off_hold_release', $this->Translate('Off Hold Release'), '', 0x00FF00] ]); From 0c85c319fcb577d3b4debc7e58916cbfecceff1c Mon Sep 17 00:00:00 2001 From: Burkhard Kneiseler Date: Sat, 12 Aug 2023 10:12:59 +0200 Subject: [PATCH 2/3] Update locale.json --- Device/locale.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Device/locale.json b/Device/locale.json index 58127960..e891d14c 100644 --- a/Device/locale.json +++ b/Device/locale.json @@ -558,7 +558,11 @@ "Poor": "Schlecht", "Unknown": "Unbekannt", "Brightness Step Down": "Helligkeit Schrittweise senken", - "Brightness Step Up": "Hellgikeit Schrittweise erhöhen" + "Brightness Step Up": "Hellgikeit Schrittweise erhöhen", + "Up Press Release": "Aufwärts losgelassen", + "Down Press Release": "Abwärts losgelassen", + "On Press Release": "An losgelassen", + "Off Press Release": "Aus losgelassen" } } } From 7d03e4ce2a993051ccebaf3e3e05e86ca07ad435 Mon Sep 17 00:00:00 2001 From: Burkhard Kneiseler Date: Sun, 13 Aug 2023 08:23:33 +0200 Subject: [PATCH 3/3] add: Z2M.action.a084bd4e --- libs/Zigbee2MQTTHelper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/Zigbee2MQTTHelper.php b/libs/Zigbee2MQTTHelper.php index e5c5103c..33a1825e 100644 --- a/libs/Zigbee2MQTTHelper.php +++ b/libs/Zigbee2MQTTHelper.php @@ -2317,6 +2317,7 @@ private function registerVariableProfile($expose) break; case 'Z2M.action.869d1272': case 'Z2M.action.ec8cf04f': + case 'Z2M.action.a084bd4e': if (!IPS_VariableProfileExists($ProfileName)) { $this->RegisterProfileStringEx($ProfileName, 'Information', '', '', [ ['on_press', $this->Translate('On Press'), '', 0x00FF00],