diff --git a/restricted/automations.php b/restricted/automations.php index ff937fb..2802f46 100644 --- a/restricted/automations.php +++ b/restricted/automations.php @@ -225,7 +225,7 @@ function anzeigeName($name) function raumListe() { $liste = []; - foreach ($GLOBALS["rooms"] as $raum) { + foreach (allRooms() as $raum) { $liste[] = [ "key" => $raum["floor"] . "/" . $raum["mqtt"], "label" => $raum["floor"] . " · " . $raum["mqtt"], diff --git a/restricted/home.php b/restricted/home.php index b0e9305..1e8250f 100644 --- a/restricted/home.php +++ b/restricted/home.php @@ -199,7 +199,7 @@