i use the squeezebox-binding for having music in some rooms and actually i cannot get it work. i am not sure if it is since i updated habapp because nearly same time i switched the logitech music-server from another rpi to the same on wich openhabian is running.
i have an item
String iSbPlayer_Favorit "Senderliste[%s]" <none> {
channel="squeezebox:squeezeboxplayer:squeezeboxServer:squeezeboxPlayer:playFavorite"
}
where all my favourite radiochannels are stored in the state description
. this always worked for me but now i see in the log the state description is always None
2023-08-28 11:59:06,434 [INFO ] [My_HABApp] - ### ItemResp(type='String', name='iSbPlayer_Favorit', label='Senderliste', category='none', tags=[], groups=[], link='http://localhost:8080/rest/items/iSbPlayer_Favorit', state='6', transformed_state=None, state_description=None, unit=None, command_description=[], metadata={}, editable=False, members=[], group_type=None, group_function=None)
although if i check with rest-api (api explorer in main-ui) i see there should be a state description, the response body shows:
{
"link": "http://openhabian:8080/rest/items/iSbPlayer_Favorit",
"state": "6",
"stateDescription": {
"pattern": "%s",
"readOnly": false,
"options": [
{
"value": "0",
"label": "DASDING 98.9 (Euro-Hits)"
},
{
"value": "1",
"label": "SWR3 95.5 (Top 40/Pop)"
},
{
"value": "2",
"label": "RT1 SÜDSCHWABEN 93.9 (Deutsche Musik)"
},
{
"value": "3",
"label": "Ostseewelle HIT-RADIO Mecklenburg-Vorpommern (Adult Contemporary)"
},
{
"value": "4",
"label": "fantasy lounge (Electro)"
},
{
"value": "5",
"label": "1LIVE diggi (Top 40/Pop)"
},
{
"value": "6",
"label": "MDR JUMP 90.4 (Adult Contemporary)"
},
{
"value": "7",
"label": "MDR SPUTNIK 104.4 (Top 40/Pop)"
},
{
"value": "8",
"label": "Bayern 3 98.4 (Hot AC)"
},
{
"value": "9",
"label": "ANTENNE BAYERN Classic Rock Live (Deutschland)"
},
{
"value": "10",
"label": "ROCK ANTENNE 94.5 (Rock)"
},
{
"value": "11",
"label": "Bayern 1 91.3 (Hit-Klassiker)"
},
{
"value": "12",
"label": "RnB Radio (Deutschland)"
},
{
"value": "13",
"label": "Antenne Bayern"
},
{
"value": "14",
"label": "bigFM"
}
]
},
"commandDescription": {
"commandOptions": [
{
"command": "0",
"label": "DASDING 98.9 (Euro-Hits)"
},
{
"command": "1",
"label": "SWR3 95.5 (Top 40/Pop)"
},
{
"command": "2",
"label": "RT1 SÜDSCHWABEN 93.9 (Deutsche Musik)"
},
{
"command": "3",
"label": "Ostseewelle HIT-RADIO Mecklenburg-Vorpommern (Adult Contemporary)"
},
{
"command": "4",
"label": "fantasy lounge (Electro)"
},
{
"command": "5",
"label": "1LIVE diggi (Top 40/Pop)"
},
{
"command": "6",
"label": "MDR JUMP 90.4 (Adult Contemporary)"
},
{
"command": "7",
"label": "MDR SPUTNIK 104.4 (Top 40/Pop)"
},
{
"command": "8",
"label": "Bayern 3 98.4 (Hot AC)"
},
{
"command": "9",
"label": "ANTENNE BAYERN Classic Rock Live (Deutschland)"
},
{
"command": "10",
"label": "ROCK ANTENNE 94.5 (Rock)"
},
{
"command": "11",
"label": "Bayern 1 91.3 (Hit-Klassiker)"
},
{
"command": "12",
"label": "RnB Radio (Deutschland)"
},
{
"command": "13",
"label": "Antenne Bayern"
},
{
"command": "14",
"label": "bigFM"
}
]
},
"editable": false,
"type": "String",
"name": "iSbPlayer_Favorit",
"label": "Senderliste",
"category": "none",
"tags": [],
"groupNames": []
}
the only difference i see is that in habapp the wording is "state_description"
but in rest-api it is "stateDescription"
does anybody use the state description and can tell me how i can use the informations from it?