Hi all,
Up until now, I have had each item in its own .items file, but now I’m starting to get the system working I’m trying to tidy up everything starting with putting all items into single .items file.
I copied all items into the single file, and deleted the original individual files. All works fine.
Then I wanted to introduce groups, but as soon as I do this all items disappear from HABPanel. If I then comment out the group with a // and refresh HABPanel all items return.
Below is my items file as it stands (MQTT section edited for brevity)
Group gDownstairs “Downstairs Lights”
Switch Sonoff01 "Lamp [%s]" (gDownstairs) ["Lighting"] {mqtt....}
Switch Sonoff02 "Kitchen Counter [%s]" (gDownstairs) ["Lighting"] {mqtt....}
Switch Sonoff03 "Sonoff03 [%s]" {mqtt....}
Switch Shelly01 "Landing Lights [%s]" ["Lighting"] {mqtt....}
Switch Shelly02 "Shelly02 [%s]" {mqtt....}
I have also tried the following lines for the “group” configuration and all result in items becoming unavailable
Group:Switch:OR(ON, OFF) gDownstairs “Downstairs Lights [%d On]” [“Lighting”]
Group:Switch gDownstairs “Downstairs Lights [%d On]” [“Lighting”]
Group:Switch gDownstairs “Downstairs Lights” [“Lighting”]
Could someone advise where I am going wrong?
Thanks
Adam