You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Group persistAndRestore
Switch statusone (persistAndRestore)
items2.items
//will not be persisted as the group isn't defined in this items file.
Switch statustwo (persistAndRestore)
Before 2.4M3 this worked perfectly. Post 2.4M3 this stopped working and I couldn't figure out why until now. It turns out that you need to define the group at the top of each .items file where I have items within the group that need to be persisted. Simply defining the group in one .items file and then using it on items across files does not work. My guess is that this may impact other group based actions in the core when they span files. This can easily be reproduced on any newer version of OH
The text was updated successfully, but these errors were encountered:
Honestly I couldn't tell you. with the new openhab 3 release I no longer use .items files. I can only tell you that it did not work in the 2 release following 2.4m3
Previously I had persistence groups that I used across multiple files. Example persist strategy below
items1.items
items2.items
Before 2.4M3 this worked perfectly. Post 2.4M3 this stopped working and I couldn't figure out why until now. It turns out that you need to define the group at the top of each .items file where I have items within the group that need to be persisted. Simply defining the group in one .items file and then using it on items across files does not work. My guess is that this may impact other group based actions in the core when they span files. This can easily be reproduced on any newer version of OH
The text was updated successfully, but these errors were encountered: