tijsverkoyen / HomeAssistant-FusionSolar

Integrate FusionSolar into your Home Assistant.
MIT License
133 stars 25 forks source link

New entities created when updating kiosk URL #169

Closed martinnj closed 1 month ago

martinnj commented 1 month ago

Describe the bug When a the kiosk URL is replaced following the instructions from the README. (https://github.com/tijsverkoyen/HomeAssistant-FusionSolar?tab=readme-ov-file#i-need-to-change-the-kiosk-url) the plugin creates a new entity, breaking every reference to the entities/sensors.

Debug information Answer the questions below before submitting a new issue.

To Reproduce Steps to reproduce the behavior:

  1. Install the plugin using HACS.
  2. Configure with Kiosk URL.
  3. Rename the entities to remove the "api key" portion and make them humanly parsable.
  4. Wait for the URL to expire, or at least generate data.
  5. Regenerate the Kiosk URL from the Fusion Solar web portal.
  6. Update with new Kiosk URL following the README.

Expected behavior When the Kiosk URL is replaced the existing entities should keep producing data instead of new entities being created.

Screenshots If applicable, add screenshots to help explain your problem.

tijsverkoyen commented 1 month ago

Yeah. I know. This is by design. Won't fix this for now. I will convert this issue to a discussion. If there are many people who have the same issue, I will reconsider to invest time.