steilerDev / homebridge-openhab2-complete

A homebridge plugin for openHAB, that has the expectation to fully support all Services offered by Apple's Homekit Accessory Protocol (HAP)
GNU General Public License v3.0
52 stars 16 forks source link

item not deleted after label is changed - creating duplicate #107

Closed IonasElate closed 2 years ago

IonasElate commented 2 years ago

After changing the Label in the json the old item still remains in the homekit app. it is not functional but it is there next to the new (working) item. multiple restarts did not solve this issue, only deactivating and reactivating the plugin does. but then the rooms are not persisted.

steilerDev commented 2 years ago

Hi @IonasElate ,

renaming items in the configuration is not recommended/supported (see the first paragraph in this section of the README ). This is due to the way homebridge creates and manages those items.

I'd recommend not changing the labels in the json config file, but rename the items directly in the Home App (select the item you want to rename, go down to the configuration/select the gear icon and use the text field this will sync within your home)