WebUI: Toggle-Funktion für boolesche Werte bei Systemvariablen in Programmen #158
Labels
⚓ upstream issue
This is a bug/issue for/in upstream software (OCCU, etc.)
💡 enhancement-ideas
New feature or change request
🏷️ WebUI
This refs the WebUI component
Milestone
Es wäre toll, wenn es eine Toggle-Funktion für boolesche Werte bei Systemvariablen in Programmen gäbe, sprich den Wert der Variable zu tauschen (true -> false, false -> true).
Gerade für Programme, in denen man eine boolesche Systemvariable bei Vorliegen einer weiteren Bedingung umkehrt, werden dadurch weniger komplex (z.B. eine Programm-basierte "Taster"-Lösung, um Licht anzuschalten, wenn es aus ist, und aus, wenn es an ist, sofern man sich dabei einer Systemvariable bedient).
Bislang braucht man dazu soetwas wie
Natürlich könnte man in obigem Beispiel auch direkt die Beleuchtung toggeln, aber in größeren Setups möchte man vermutlich mehrere Bedingungen haben, die das Licht toggeln.
Mit Vorliegen einer Booleschen-Toggle-Funktion wäre das Skript reduzierbar auf
The text was updated successfully, but these errors were encountered: