Ok, the device is deleted. if i enter a new one it wil do the same no mather what I do.
do you mean to add it and then show the file?
this is my file:
{
"6": {
"config": {
"alert": "none",
"battery": 60,
"group": "6",
"on": true,
"reachable": true
},
"ep": 1,
"etag": "eab3e1d989f4fcef1eecd7fbd0c96b34",
"lastannounced": "2022-02-24T04:32:48Z",
"lastseen": "2022-02-27T14:54Z",
"manufacturername": "IKEA of Sweden",
"mode": 1,
"modelid": "TRADFRI on/off switch",
"name": "Switch Kamer",
"state": {
"buttonevent": 1002,
"lastupdated": "2022-02-27T06:24:31.661"
},
"swversion": "2.2.010",
"type": "ZHASwitch",
"uniqueid": "5c:02:72:ff:fe:3f:85:a5-01-1000"
},
"12": {
"config": {
"alert": "none",
"battery": 16,
"group": "12",
"on": true,
"reachable": true
},
"ep": 1,
"etag": "93c2f50e726f29202116f63481a7b23b",
"lastannounced": "2022-02-21T07:02:33Z",
"lastseen": "2022-02-27T15:29Z",
"manufacturername": "IKEA of Sweden",
"mode": 1,
"modelid": "TRADFRI on/off switch",
"name": "Switch Juliana",
"state": {
"buttonevent": 2002,
"lastupdated": "2022-02-26T09:22:41.666"
},
"swversion": "2.2.010",
"type": "ZHASwitch",
"uniqueid": "b4:e3:f9:ff:fe:58:5f:09-01-1000"
},
"13": {
"config": {
"alert": "none",
"battery": 60,
"group": "13",
"on": true,
"reachable": true
},
"ep": 1,
"etag": "bc7fc81b591325ba072f628aca43bf74",
"lastannounced": "2022-02-12T19:42:56Z",
"lastseen": "2022-02-27T15:28Z",
"manufacturername": "IKEA of Sweden",
"mode": 1,
"modelid": "TRADFRI on/off switch",
"name": "Switch David",
"state": {
"buttonevent": 2002,
"lastupdated": "2022-02-24T06:33:21.769"
},
"swversion": "2.2.010",
"type": "ZHASwitch",
"uniqueid": "b4:e3:f9:ff:fe:58:53:ec-01-1000"
},
"17": {
"config": {
"battery": 87,
"group": "6657,6658,6659,6660",
"on": true,
"reachable": true
},
"ep": 1,
"etag": "1ae80f040ab218353eb5cd52c7e230c7",
"lastannounced": "2022-02-03T15:37:40Z",
"lastseen": "2022-02-27T15:24Z",
"manufacturername": "EcoDim",
"mode": 1,
"modelid": "ED-10014",
"name": "4-channel remote controller",
"state": {
"buttonevent": 2002,
"lastupdated": "2022-02-27T14:45:21.682"
},
"swversion": "2.5.3_r20",
"type": "ZHASwitch",
"uniqueid": "60:a4:23:ff:fe:60:e8:61-01-0006"
}
}
I will keep trying but is strange, I understand the wiki but i dont know how i will do that in the home automation Opereting System.
Best regards