It seems that the pattern has changed from “%s %unit%” (openhab4.1) to %.0f" (openhab4.3).
Return of the rest api from openhab4.1:
{
"link": "https://openhab:8443/rest/items/dressroom_multisensor_hum",
"state": "44.24 %",
"stateDescription": {
"step": 1,
"pattern": "%s %unit%",
"readOnly": true,
"options": []
},
"unitSymbol": "%",
"metadata": {
"unit": {
"value": "%"
},
"semantics": {
"value": "Point_Measurement",
"config": {
"relatesTo": "Property_Humidity",
"hasLocation": "gDressroom"
}
},
"HUEEMU": {
"value": "155"
}
},
"editable": false,
"type": "Number:Dimensionless",
"name": "dressroom_multisensor_hum",
"label": "Ankleide Luftfeuchtigkeit",
"category": "rain",
"tags": [
"Measurement",
"Humidity"
],
"groupNames": [
"gDressroom"
]
}
and from openhab4.3:
{
"link": "https://openhab:8443/rest/items/dressroom_multisensor_hum",
"state": "43.08 %",
"stateDescription": {
"step": 1,
"pattern": "%.0f",
"readOnly": true,
"options": []
},
"unitSymbol": "%",
"metadata": {
"unit": {
"value": "%"
},
"semantics": {
"value": "Point_Measurement",
"config": {
"relatesTo": "Property_Humidity",
"hasLocation": "gDressroom"
}
},
"HUEEMU": {
"value": "155"
}
},
"editable": false,
"type": "Number:Dimensionless",
"name": "dressroom_multisensor_hum",
"label": "Ankleide Luftfeuchtigkeit",
"category": "rain",
"tags": [
"Measurement",
"Humidity"
],
"groupNames": [
"gDressroom"
]
}
Is there a way to change the pattern back to the old value (gloabl) so that I don’t have to change all my items?