Can I use this syntax?

I have a number of devices that support temperature readings, I have named them all with Temperature at the end of each item name. As an example Living_Room_Thermostat_Temperature. Would the below syntax work or can I only put the asterisks at the end, as a wildcard?

Items {
* : strategy = everyChange, everyDay, restoreOnStartup

*Temperature : strategy = everyHour

}

The asterisk is no wildcard. The definition is:
(see https://github.com/openhab/openhab/wiki/Persistence)

* : all items
itemname : single item, or comma seperated list of items (no wildcards possible)
groupname* : the asterisk marks all items within a group

so if you don’t want to list all your temperature items within your persistence file, you should define a group with all yout temperatures you want to persist and just use this group in your persistence file

Andreas

Edit: persistence not displayed correctly…

Thanks Andreas, I’ll take a further look and get my groups in place.

Regards,

Garry