openbase / bco.dal

Domotic Abstraction Layer
Other
1 stars 2 forks source link

Generated openhab item id should not be based on device class and name #87

Closed DivineThreepwood closed 5 years ago

DivineThreepwood commented 6 years ago

This issue raises because virtual units do not have a device class or name to generate the idem id. Maybe is a good idea to just generate the item id out of the default alias[0] this would make the id really small still human readable but still unique. The other question is if this issue is till valid after switching to openhab2?

This issue should be a part of release 1.7 because it brakes the compatibility between bco and the bco openhab binding.

DivineThreepwood commented 5 years ago

Unit aliases has been used instead.