Fix for doSwitch
This commit is contained in:
@@ -110,8 +110,8 @@ class EnerGenieSwitcher
|
||||
$params['cte'.$port] = $state;
|
||||
}
|
||||
}
|
||||
$this->postRequest('http://'.$this->ip, $params);
|
||||
}
|
||||
$this->postRequest('http://'.$this->ip, $params);
|
||||
$this->doLogout();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user