Skip to content

A live bird collage card for your Home Assistant dashboard.

testing service_controls

mcguirepr89ee252f118bd2
diff --git a/scripts/service_controls.php b/scripts/service_controls.php
index 348c9572..b259fbda 100644
--- a/scripts/service_controls.php
+++ b/scripts/service_controls.php
@@ -88,8 +88,8 @@ error_reporting(E_ALL);
if(isset($_POST['submit'])){
$command = $_POST['submit'];
-echo "<h3>Executed $command</h3>";
-shell_exec("$command");
+$results = shell_exec("$command");
+echo "$results";
}
?>
</div>