mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-26 22:21:38 +01:00
Add documentation for the color_temp light POST query parameter (#3268)
The code for the webserver API clearly allows for setting of the color temperature, but the documentation does not mention this specific query parameter.
See 7ddcdab351/esphome/components/web_server/web_server.cpp (L618-L623)
This commit is contained in:
parent
1c655c7979
commit
514694ed90
@ -182,6 +182,7 @@ creating a POST request at ``/light/<id>/turn_on?brightness=128&transition=2`` w
|
||||
- **flash**: Flash the color provided by the other properties for a duration in seconds.
|
||||
- **transition**: Transition to the specified color values in this duration in seconds.
|
||||
- **effect**: Set an effect for the light.
|
||||
- ***color_temp***: Set the color temperature of the light, in mireds.
|
||||
|
||||
``turn_off`` optional URL parameters:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user