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