When a device is created in HA and transmitted to ioBroker via the HASS adapter, the "name" field of the newly created state/folder is populated with the name the device carries in HA.
If the device name in HA is later changed, the name field in ioBroker is not updated. If the state/folder is deleted in ioBroker and synced again, then the state/folder is recreated with the new HA name.
This is a cosmetic issue only, since the state/folder ID itself stays the same in all cases.
Ideal behaviour:
When the adapter notices that the name of an entity in HA has been renamed, the change should also be made on the ioBroker side in the "name" field of the respective state/folder.
Possible solution:
How about a manual "sync" operation if live checks would be too complicated or carry too much of an performance impact? This sync could be triggered once on adapter startup or manually on the adapter config page. The mechansim could also be reused for e.g. checking for orphaned/obsolete states (states that still exist in ioBroker, but not/no longer in HA).
When a device is created in HA and transmitted to ioBroker via the HASS adapter, the "name" field of the newly created state/folder is populated with the name the device carries in HA.
If the device name in HA is later changed, the name field in ioBroker is not updated. If the state/folder is deleted in ioBroker and synced again, then the state/folder is recreated with the new HA name.
This is a cosmetic issue only, since the state/folder ID itself stays the same in all cases.
Ideal behaviour:
When the adapter notices that the name of an entity in HA has been renamed, the change should also be made on the ioBroker side in the "name" field of the respective state/folder.
Possible solution:
How about a manual "sync" operation if live checks would be too complicated or carry too much of an performance impact? This sync could be triggered once on adapter startup or manually on the adapter config page. The mechansim could also be reused for e.g. checking for orphaned/obsolete states (states that still exist in ioBroker, but not/no longer in HA).