From 01419ab60872efe4a677fd03841f647748d74fe7 Mon Sep 17 00:00:00 2001 From: Alex <33379584+alexyao2015@users.noreply.github.com> Date: Wed, 27 Jan 2021 01:05:58 -0600 Subject: [PATCH] Document color_temp for web_server api (#951) --- web-api/index.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web-api/index.rst b/web-api/index.rst index acf8f8bf5..d7a4230e7 100644 --- a/web-api/index.rst +++ b/web-api/index.rst @@ -156,7 +156,9 @@ the state of a light, send a GET request to ``/light/``, for example ``light - **b**: The blue channel of this light. From 0 to 255. - **effect**: The currently active effect, only if the light supports effects. -- **white_value**: The white value of RGBW lights. From 0 to 255. +- **white_value**: The white value of RGBW lights. From 0 to 255. Only if the light supports white value. +- **color_temp**: The color temperature of the RGBWW light. Between minimum mireds and maximum mireds of the light. + Only if the light support color temperature. Setting light state can happen through three POST method calls: ``turn_on``, ``turn_off`` and ``toggle``. Turn on and off have additional URL encoded parameters that can be used to set other properties. For example