Then I save the items file again after making some change and the VacationMode toggle goes back to off.
In my database I have:
mysql> select * from OpenHAB.Item29;
+---------------------+-------+
| Time | Value |
+---------------------+-------+
| 2016-04-28 14:50:13 | ON |
+---------------------+-------+
1 row in set (0.00 sec)
Is there a setting I need to change or a configuration in my Switch item to force it to reread it’s persistent value after reloading?
// persistence strategies have a name and a definition and are referred to in the "Items" section
Strategies {
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"
// if no strategy is specified for an item entry below, the default list will be used
default = everyChange
}
/*
* Each line in this section defines for which item(s) which strategy(ies) should be applied.
* You can list single items, use "*" for all items or "groupitem*" for all members of a group
* item (excl. the group item itself).
*/
Items {
// persist all items once a day and on every change and restore them from the db at startup
* : strategy = everyChange, everyDay, restoreOnStartup
// additionally, persist all temperature and weather values every hour
Temperature*, Weather* : strategy = everyHour
}