Hi
I have the following code in my JSON:
{
"flashicon": "icons/ikettle.png",
"halloIconsDir": "pics\/hallo",
"state_icons": [
"iKettle_0.png",
"iKettle_100.png",
],
"x": "2",
"y": "4",
"iconText": "0",
"inScene": "1",
"DisplayStatus": {
"Service": "urn:sharedfunctions-com:serviceId:iKettle1",
"Variable": "KettleState",
"MinValue": "0",
"MaxValue": "1"
},
and in my implementation file I have:
luup.variable_set(SID, "KettleState", "1", parentDevice)
Yet it never affects the icon… what am I doing wrong,
I have verified the images a loaded correctly by visiting the urls directly.