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:
Daniel Baulig 2023-10-14 21:32:38 -07:00 committed by GitHub
parent 1c655c7979
commit 514694ed90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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: