You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When changing config via API, we always need to send the complete data structure, even when changing just one single value. This makes it quite hard to integrate into simple tools (e.g. HA automations)
Describe the solution you'd like
Add PATCH methods to API to update single values.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
morph027
changed the title
[Request] API PUT requests for changing single config values
[Request] API PATCH requests for changing single config values
Feb 21, 2023
Interesting API feature to have PATCH method for modifying values using a sparse JSON request.
I do not know if this is feasible as we are using the complete JSON and parse the values from it to update them in a batch.
We may have to separate this into individual SET-ter methods for each key value.
Maybe this is too much for the little ESP32 chip ?
Is your feature request related to a problem? Please describe.
When changing config via API, we always need to send the complete data structure, even when changing just one single value. This makes it quite hard to integrate into simple tools (e.g. HA automations)
Describe the solution you'd like
Add PATCH methods to API to update single values.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: