Dear all,
i want to change / update a string item based on a rule.
Also i want to display the string item in the sitemap.
However this doesnt work.
Maybe someone can help?
Group Markise "Markise" <terrace>
String Markise_Position "Position" (Markise)
rule "Position"
when
Item ArduinoMarkise_ArduinoMarkise_position changed
then
if (ArduinoMarkise_ArduinoMarkise_position.state == 1) {
Markise_Position.postUpdate("rausgefahren");
} else {
Markise_Position.postUpdate("reingefahren");
}
end
The visual studio code shows the correct string:
However the item in the sitemap is alway display “empty”:
I also tried .sendCommand(“Text”). Same result …