mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-03-01 03:51:36 +01:00
Add toggle command to cover REST API commands (#3658)
This commit is contained in:
parent
f3c10ed34b
commit
6d1ed9878e
@ -244,7 +244,7 @@ stopped midway. An example GET request for ``/cover/front_window_blinds`` might
|
||||
- **tilt**: (only if supported by this cover component) tilt angle from 0.0 to 1.0.
|
||||
|
||||
POST requests on the other hand allow performing actions on the cover, the available
|
||||
methods being ``open``, ``close``, ``stop`` and ``set``. The following parameters
|
||||
methods being ``open``, ``close``, ``stop``, ``toggle`` and ``set``. The following parameters
|
||||
can be used:
|
||||
|
||||
- **position**: The target position for a ``set`` call. The ``open`` method implies
|
||||
|
Loading…
Reference in New Issue
Block a user