remote control: /STATE/SET add optional argument to prevent widgets from sending their value

This commit is contained in:
jean-emmanuel 2023-05-13 12:21:44 +02:00
parent fe9df9c2d9
commit d0d73e4d44
3 changed files with 10 additions and 5 deletions

View file

@ -164,11 +164,12 @@ Sends back the app's state to specified target
----
#### `/STATE/SET state`
#### `/STATE/SET state send`
Set widgets' state
- `state`: `string`, json stringified object (`"widget_id": value` pairs)
- `send` (optional): `boolean`, set to `false` to prevent widgets from sending their values when the state is applied