From 514694ed90e6fe70786f14d16b3ff7e8dbccfc1c Mon Sep 17 00:00:00 2001 From: Daniel Baulig Date: Sat, 14 Oct 2023 21:32:38 -0700 Subject: [PATCH] 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 https://github.com/esphome/esphome/blob/7ddcdab35130ab54ba4735623df2aab95dcf3ce6/esphome/components/web_server/web_server.cpp#L618-L623 --- web-api/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/web-api/index.rst b/web-api/index.rst index 3abe30003..2969c7834 100644 --- a/web-api/index.rst +++ b/web-api/index.rst @@ -182,6 +182,7 @@ creating a POST request at ``/light//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: