Hi. How to rename text “H1” to something else in a group?
Group gH1 "H1" <colorwheel> (gHH)
String gH1a1 "Name [%s]" <colorwheel> (gH1) {mqtt="<[mosquito...]"}
rule "MQTT 0674d2s change"
when Item gH1a1 received update
then
var String SSS = gH1a1.toString //-> SSS = "gH1a1 (Type=StringItem, State=ROSA DHT11)"
postUpdate(gH1.state as String, SSS)
end
does not work. Howto change?
2.option: if I could write to group as into String item (Group gH1 “H1 [%s]” (gHH))?
postUpdate(gH1, SSS) does not work.