Remove redundant return statement in Shelly relay control logic
This commit is contained in:
@@ -67,7 +67,6 @@ trait selfserve_lane_port_controller_t
|
||||
if (empty($relay_id)) {
|
||||
throw new \Exception("Invalid relay ID for port {$port->name}");
|
||||
}
|
||||
return true; // TODO: Remove this line when implementing Shelly relay control
|
||||
$shelly = new shelly();
|
||||
$shelly->requireModuleEnabled();
|
||||
$shelly->requireValidSecretKey();
|
||||
|
||||
Reference in New Issue
Block a user