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