GetValue mit leistung war falsch geschrieben
This commit is contained in:
@@ -103,7 +103,7 @@ class WP_Steuerung extends IPSModule {
|
|||||||
|
|
||||||
}elseif($state == 1) // Normalbetrieb
|
}elseif($state == 1) // Normalbetrieb
|
||||||
{
|
{
|
||||||
if($LastPeak && $power == $this->GetValue("WP_Leistung")) {
|
if($LastPeak && $power == GetValue($this->ReadPropertyInteger("WP_Leistung"))) {
|
||||||
$this->SetValue("Zustand_WP", 1);
|
$this->SetValue("Zustand_WP", 1);
|
||||||
if($its_lock_time){
|
if($its_lock_time){
|
||||||
$this->SetValue("Zustand_WP", 2);
|
$this->SetValue("Zustand_WP", 2);
|
||||||
@@ -112,7 +112,7 @@ class WP_Steuerung extends IPSModule {
|
|||||||
$this->SetValue("Zustand_WP", 2);
|
$this->SetValue("Zustand_WP", 2);
|
||||||
|
|
||||||
}
|
}
|
||||||
elseif($LastPeak == false && $power == $this->GetValue("WP_Leistung")){
|
elseif($LastPeak == false && $power == GetValue($this->ReadPropertyInteger("WP_Leistung"))){
|
||||||
$this->SetValue("Zustand_WP", 3);
|
$this->SetValue("Zustand_WP", 3);
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -126,7 +126,7 @@ class WP_Steuerung extends IPSModule {
|
|||||||
|
|
||||||
}elseif($state == 2) // Sperre
|
}elseif($state == 2) // Sperre
|
||||||
{
|
{
|
||||||
if($LastPeak && $power == $this->GetValue("WP_Leistung")) {
|
if($LastPeak && $power == GetValue($this->ReadPropertyInteger("WP_Leistung"))) {
|
||||||
$this->SetValue("Zustand_WP", 1);
|
$this->SetValue("Zustand_WP", 1);
|
||||||
if($its_lock_time){
|
if($its_lock_time){
|
||||||
$this->SetValue("Zustand_WP", 2);
|
$this->SetValue("Zustand_WP", 2);
|
||||||
@@ -135,7 +135,7 @@ class WP_Steuerung extends IPSModule {
|
|||||||
$this->SetValue("Zustand_WP", 2);
|
$this->SetValue("Zustand_WP", 2);
|
||||||
|
|
||||||
}
|
}
|
||||||
elseif($LastPeak == false && $power == $this->GetValue("WP_Leistung")){
|
elseif($LastPeak == false && $power == GetValue($this->ReadPropertyInteger("WP_Leistung"))){
|
||||||
$this->SetValue("Zustand_WP", 3);
|
$this->SetValue("Zustand_WP", 3);
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -149,13 +149,13 @@ class WP_Steuerung extends IPSModule {
|
|||||||
|
|
||||||
}elseif($state == 3) // Erhöht
|
}elseif($state == 3) // Erhöht
|
||||||
{
|
{
|
||||||
if($LastPeak && $power == $this->GetValue("WP_Leistung")) {
|
if($LastPeak && $power == GetValue($this->ReadPropertyInteger("WP_Leistung"))) {
|
||||||
$this->SetValue("Zustand_WP", 1);
|
$this->SetValue("Zustand_WP", 1);
|
||||||
} elseif($LastPeak && $power == 0){
|
} elseif($LastPeak && $power == 0){
|
||||||
$this->SetValue("Zustand_WP", 2);
|
$this->SetValue("Zustand_WP", 2);
|
||||||
|
|
||||||
}
|
}
|
||||||
elseif($LastPeak == false && $power == $this->GetValue("WP_Leistung")){
|
elseif($LastPeak == false && $power == GetValue($this->ReadPropertyInteger("WP_Leistung"))){
|
||||||
$this->SetValue("Zustand_WP", 3);
|
$this->SetValue("Zustand_WP", 3);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "0.109",
|
"version": "0.110",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user