Harden temperature assignment clearing
This commit is contained in:
+11
-1
@@ -641,4 +641,14 @@ Request:
|
||||
|
||||
Temperature sensor config entries now include `weather: true`.
|
||||
|
||||
When a configured temp sensor has `weather: true`, the WebUI may show it as the outside/weather temperature badge. The `/status` temp objects also include this flag so HTTP, UART, USB serial, and future Pico clients can identify the selected outside-air sensor without guessing from the sensor name.\n
|
||||
When a configured temp sensor has `weather: true`, the WebUI may show it as the outside/weather temperature badge. The `/status` temp objects also include this flag so HTTP, UART, USB serial, and future Pico clients can identify the selected outside-air sensor without guessing from the sensor name.\n\n\n### Clear temperature assignments
|
||||
|
||||
`POST /temps/clear`
|
||||
|
||||
Request body options:
|
||||
|
||||
- `{ "id": "temp_1" }` clears one logical temp slot by ID.
|
||||
- `{ "slot": 1 }` clears one logical temp slot by number.
|
||||
- Empty POST body clears all temp assignments.
|
||||
|
||||
Clearing removes the stored DS18B20 address, disables the slot, clears the weather flag, resets cached temperature state, and persists config.\n
|
||||
Reference in New Issue
Block a user