1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.5k stars 775 forks source link

Non-persistent entity IDs in Home Assistant #1756

Open bcutter opened 9 months ago

bcutter commented 9 months ago

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:

  1. Disable BT: Adaptive scan switch, new entities are created: number.bt_interval_between_active_scans and number.bt_interval_between_scans
  2. Rename those entities to e. g. number.esp_omg_kitchen_bt_interval_between_active_scans and number.esp_omg_kitchen_bt_interval_between_scans
  3. Enable BT: Adaptive scan switch, both interval number entities are removed
  4. Disable BT: Adaptive scan switch:

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):

Additional context

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 90 days with no activity.

bcutter commented 6 months ago

Still not fixed and VERY annoying. At latest on every update this causes trouble.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 90 days with no activity.

bcutter commented 3 months ago

Still not fixed and VERY annoying. At latest on every update this causes trouble.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 90 days with no activity.

bcutter commented 2 weeks ago

Still not fixed and VERY annoying. At latest on every update this causes trouble.