Skip to content

Commit

Permalink
Merge pull request #134 from Burki24/patch-7
Browse files Browse the repository at this point in the history
ADD: Z2M.action.2593a6d2
  • Loading branch information
Schnittcher authored Oct 30, 2023
2 parents 5b504d6 + ad9624f commit 70db591
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Device/locale.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
"Angle Y": "Winkel Y",
"Angle Z": "Winkel Z",
"Area": "Area",
"Arm All Zones": "Alle Zonen scharfschalten",
"Arm Day Zones": "Tageszonen scharfschalten",
"Arm Night Zones": "Nachtzonen scharfschalten",
"Arrow Left Click": "Pfeil links Drücken",
"Arrow Left Hold": "Pfeil Links Halten",
"Arrow Left Release": "Pfeil Links Loslassen",
Expand Down Expand Up @@ -210,6 +213,7 @@
"Dial Rotate Right Fast": "Rad schnell rechts gedreht",
"Dial Rotate Right Slow": "Rad langsam rechts gedreht",
"Dial Rotate Right Step": "Rad einen Schritt nach rechts gedreht",
"Disarm": "Deaktivieren",
"Display Brightness": "Display Helligkeit",
"Display Ontime": "Display Einschaltdauer",
"Display Orientation": "Display Ausrichtung",
Expand Down Expand Up @@ -253,6 +257,7 @@
"Enrolled": "Enrolled",
"Error": "Fehler",
"Excellent": "Exzellent",
"Exit Delay": "Ausschaltverzögerung",
"External Measured Room Sensor": "Extern gemessener Raumfühler",
"Externally": "Extern",
"Fairfax": "Fairfax",
Expand Down Expand Up @@ -643,4 +648,4 @@
"IR Code to send": "IR-Code zum Senden"
}
}
}
}
14 changes: 13 additions & 1 deletion libs/Zigbee2MQTTHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -2485,14 +2485,26 @@ private function registerVariableProfile($expose)
]);
}
break;
case 'Z2M.display_orientation.d6fc8316':
case 'Z2M.display_orientation.d6fc8316':
if (!IPS_VariableProfileExists($ProfileName)) {
$this->RegisterProfileStringEx($ProfileName, 'Information', '', '', [
['normal', $this->Translate('Normal'), '', 0x00FF00],
['flipped', $this->Translate('Flipped'), '', 0x00FF00]
]);
}
break;
case 'Z2M.action.2593a6d2':
if (!IPS_VariableProfileExists($ProfileName)) {
$this->RegisterProfileStringEx($ProfileName, 'Information', '', '', [
['arm_all_zones', $this->Translate('Arm All Zones'), '', 0x00FF00],
['arm_day_zones', $this->Translate('Arm Day Zones'), '', 0x00FF00],
['arm_night_zones', $this->Translate('Arm Night Zones'), '', 0x00FF00],
['disarm', $this->Translate('Disarm'), '', 0x00FF00],
['emergency', $this->Translate('Emergency'), '', 0x00FF00],
['exit_delay', $this->Translate('Exit Delay'), '', 0x00FF00]
]);
}
break;
case 'Z2M.action.d9f7f4ac':
case 'Z2M.action.a3d14936':
if (!IPS_VariableProfileExists($ProfileName)) {
Expand Down

0 comments on commit 70db591

Please sign in to comment.