fix(config): report computed fields as read-only on update (#1454)

PUT /v1/config/{path} answered "does not exist in model" when the
target was a computed field such as eos_device_instruction_entity_ids.
Raise an explicit read-only error instead, so API clients can tell
read-only fields from unknown ones.

Closes #913
This commit is contained in:
YTM-21
2026-10-26 07:16:16 +01:00
committed by GitHub
parent 58b968562e
commit 8f4fa6fe94
4 changed files with 35 additions and 1 deletions
+3
View File
@@ -106,6 +106,9 @@ compatibility changes and a short test procedure. These changes are not yet a ta
- GENETIC reads its horizon, interval and prediction settings once at the start of a run. A
configuration change during a run (for example a client adapting the control horizon) no
longer fails the run with an out-of-bounds error; it applies to the next run.
- Updating a read-only computed configuration field, e.g. `adapter.homeassistant.eos_solution_entity_ids`
via `PUT /v1/config/{path}`, now reports a read-only error instead of claiming the field does
not exist ([#913](https://github.com/Akkudoktor-EOS/EOS/issues/913)).
## 0.3.0 (2026-03-17)