diff --git a/app/domo91.py b/app/domo91.py index e1481c1..fbc55d4 100644 --- a/app/domo91.py +++ b/app/domo91.py @@ -79,11 +79,11 @@ def render_gyro_badge(site: str, stale_after_min: int = 10): # Etat → couleur/label if etat in ("ON", "1"): - color, label = "#22c55e", "GYRO ON" + color, label = "#ef4444", "GYRO ON" # Rouge = gyro actif elif etat in ("OFF", "0"): - color, label = "#ef4444", "GYRO OFF" + color, label = "#22c55e", "GYRO OFF" # Vert = gyro arrêté elif etat in ("ALERTE", "ALARM", "ALARMED"): - color, label = "#f59e0b", "GYRO ALERTE" + color, label = "#f59e0b", "GYRO ALERTE" # Orange = alerte else: color, label = "#9E9E9E", "GYRO INCONNU"