Skip to content

Commit

Permalink
FIX: $Profilname -> $ProfilName
Browse files Browse the repository at this point in the history
  • Loading branch information
Burki24 authored Jul 22, 2024
1 parent c77f60a commit 114bd26
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions libs/Zigbee2MQTTHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -6958,32 +6958,32 @@ private function mapExposesToVariables(array $exposes)
}
break;
case 'action_rate':
$Profilename = $this->registerVariableProfile($expose);
if ($Profilename != false) {
$ProfileName = $this->registerVariableProfile($expose);
if ($ProfileName != false) {
$this->RegisterVariableInteger('Z2M_ActionRate', $this->Translate('Action Rate'), $ProfileName);
}
break;
case 'action_step_size':
$Profilename = $this->registerVariableProfile($expose);
if ($Profilename != false) {
$ProfileName = $this->registerVariableProfile($expose);
if ($ProfileName != false) {
$this->RegisterVariableInteger('Z2M_ActionStepSize', $this->Translate('Action Step Size'), $ProfileName);
}
break;
case 'action_transition_time':
$Profilename = $this->registerVariableProfile($expose);
if ($Profilename != false) {
$ProfileName = $this->registerVariableProfile($expose);
if ($ProfileName != false) {
$this->RegisterVariableInteger('Z2M_ActionTransTime', $this->Translate('Action Transition Time'), $ProfileName);
}
break;
case 'action_group':
$Profilename = $this->registerVariableProfile($expose);
if ($Profilename != false) {
$ProfileName = $this->registerVariableProfile($expose);
if ($ProfileName != false) {
$this->RegisterVariableInteger('Z2M_ActionGroup', $this->Translate('Action Group'), $ProfileName);
}
break;
case 'action_color_temperature':
$Profilename = $this->registerVariableProfile($expose);
if ($Profilename != false) {
$ProfileName = $this->registerVariableProfile($expose);
if ($ProfileName != false) {
$this->RegisterVariableInteger('Z2M_ActionColorTemp', $this->Translate('Action Color Temperature'), $ProfileName);
}
break;
Expand Down

0 comments on commit 114bd26

Please sign in to comment.