Enum subgroups ar not working with rollershutter rule
Describe the bug
English:
Subgroups in the enum are not included in the search for a suitable room.
Deutsch: Untergruppen im Enum werden bei der Suche nach einem passenden Raum nicht mit einbezogen.
To Reproduce
English:
Steps to reproduce the behavior:
- install an instance of text2command
- install the rule for shutters
- create a function for shutters (blinds) in Enums
- create a group in Enums for e.g. a floor (first floor)
- add a room to the created floor in Enums (living room)
- add a roller shutter to the created room and function
- test the rule with the created room
Deutsch: Schritte zum reproduzieren des Verhaltens:
- Installiere eine Instanz von text2command
- Installiere die Regele für Rollladen
- Erstelle in Enums eine Funktion für Rollläden(blinds)
- Lege in Enums eine Gruppe für z.B. ein Stockwerk an (Erdgeschoss)
- Füge in Enums dem erstellten Stockwerk ein Raum hinzu (Wohnzimmer)
- Füge einen Rollladen zu dem erstellen Raum und der Funktion hinzu
- Teste die Regel mit dem erstellten Raum
Expected behavior
English:
Enums are searched recusively to find a suitable room.
Deutsch: Enums werden recusiv durchsucht um einen passenden Raum zu finden.
Versions:
text2command version: v3.0.2
JS-Controller version: 5.0.12 (docker (official image - v9.0.1))
Node version: v18.18.2
Operating system: raspberrypi os bookworm arm64 6.1.21-v8+ (Docker version 24.0.7, build afdd53b)
Additional context
English:
If you represent your house in a semantic model with floors, the rules for roller shutters and turning on and off with function do not work.
Deutsch: Wenn man sein Haus in einem semantisches Modell abbildet mit Stockwerken funktionieren die Regel für Rollladen und An und Aus machen mit Funktion nicht.