A live bird collage card for your Home Assistant dashboard.
added "Stop Core Services" button
mcguirepr893ff8a0bcd42a
diff --git a/scripts/service_controls.php b/scripts/service_controls.phpindex 60275457..db4684d4 100644--- a/scripts/service_controls.php+++ b/scripts/service_controls.php@@ -80,6 +80,9 @@<button type="submit" name="submit" value="sudo systemctl disable --now pushed_notifications.service">Disable</button><button type="submit" name="submit" value="sudo systemctl enable --now pushed_notifications.service">Enable</button></form>+ <form action="" method="POST">+ <button type="submit" name="submit" value="stop_core_services.sh">Stop Core Services</button>+ </form><form action="" method="POST"><button type="submit" name="submit" value="restart_services.sh" onclick="return confirm('This will take about 90 seconds.')">Restart All Services</button></form>