Non-persistent entity IDs in Home Assistant
Describe the bug I noticed that OMG always defaults its entity IDs. Custom set ones are ignored once entity ids are re-created.
To Reproduce Steps to reproduce the behavior:
- Disable
BT: Adaptive scanswitch, new entities are created:number.bt_interval_between_active_scansandnumber.bt_interval_between_scans - Rename those entities to e. g.
number.esp_omg_kitchen_bt_interval_between_active_scansandnumber.esp_omg_kitchen_bt_interval_between_scans - Enable
BT: Adaptive scanswitch, both interval number entities are removed - Disable
BT: Adaptive scanswitch:
Expected behavior
created interval number entities are restored as configured (number.esp_omg_kitchen_bt_interval_between_active_scans and number.esp_omg_kitchen_bt_interval_between_scans)
Actual behaviour:
created interval number entities default and ignore their previous names/IDs (number.bt_interval_between_active_scans and number.bt_interval_between_scans)
Environment (please complete the following information):
- OpenMQTTGateway version used: v1.6.0 / development
a046c8
Additional context
- This obviously creates problems as entity ids are sensitive in HA. Imagine you have more than one OMG integrated - they sum up with
_2etc. - How can we get persistent entity IDs here?
This issue is stale because it has been open for 90 days with no activity.
Still not fixed and VERY annoying. At latest on every update this causes trouble.
This issue is stale because it has been open for 90 days with no activity.
Still not fixed and VERY annoying. At latest on every update this causes trouble.
This issue is stale because it has been open for 90 days with no activity.
Still not fixed and VERY annoying. At latest on every update this causes trouble.