home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.21k stars 30.57k forks source link

Statistics helper entities cannot be edited after creation in the UI #124139

Open walking-octopus opened 2 months ago

walking-octopus commented 2 months ago

The problem

  1. When you create a new statistics helper of type ratio, you cannot change its parameters, except for the start/end/duration page. You have to delete the old one and recreate it.

  2. When you touch the "Duration" field, even if you set it back to zeros as it was initially, it won't ever again be null, causing a schema validation error on saving if you switched to using an end date, forcing you to recreate the sensor.

What version of Home Assistant Core has the issue?

core-2024.8.2

Notes

I'm not sure if problems with UI config wizards are to be reported to core or frontend. If I've filed it to the wrong repo, please yet me know.

xenia-09A commented 2 months ago

I had this issue in 2024.8.1 with count etc so I just put them in yaml as workaround but now I find that easier to edit but they should look into the gui issue