I have been working with a single Thing, a Wemo mini switch defined in a .things file to have the name “Socket1”.
Thing wemo:socket:Switch1 "Wemo Mini" [udn="Socket-1_0-221732K01016D2"]
Since I had automatic (simple) linking turned on (paperUI) the system generated an item and gave it the name “wemo_socket_Socket1_state”. Everything worked as expected.
Now, I want to change the name of the item to “Socket1_state” so I added a .items file containing
Switch Switch1_state { channel="wemo:socket:Switch1:state" }
Now however 2 switch items appear for the same Thing. They have different names but are otherwise identical and remain synchronized.
I have tried many ways to try and get rid of the duplicate switch item. In particular, when I try and delete the item in paperUI Configuration the error message in my log file is:
Received HTTP DELETE request at ‘items/wemo_socket_Switch1_state’ for the unknown item ‘wemo_socket_Switch1_state’.
When I try and delete the Thing in paperUI Configuration error message is:
Received HTTP DELETE request for update at ‘things/wemo:socket:Switch1’ for an unmanaged thing ‘wemo:socket:Switch1’.
When I try and use the console: Smarthome:items clear" I get the response “2 items removed successfully” and no error is logged, but the items are still there next time I launch.
How can I get rid of this item?
Thanks in advance,
Joe