mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-10-29 09:11:57 +00:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user