From 1c655c7979f989d3b8caaa70645f7d394a0fb5a4 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Fri, 13 Oct 2023 13:13:00 +1300 Subject: [PATCH 1/2] Add status indicator information to esp32 improv (#3262) --- components/esp32_improv.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/components/esp32_improv.rst b/components/esp32_improv.rst index 2eea322a9..9bf27b552 100644 --- a/components/esp32_improv.rst +++ b/components/esp32_improv.rst @@ -31,6 +31,17 @@ Configuration variables: - **status_indicator** (*Optional*, :ref:`config-id`): An :doc:`output ` to display feedback to the user. - **identify_duration** (*Optional*, :ref:`config-time`): The amount of time to identify for. Defaults to ``10s``. +Status Indicator +---------------- + +The ``status_indicator`` has the following patterns: + +- solid: The improv service is active and waiting to be authorized. +- blinking once per second: The improv service is awaiting credentials. +- blinking 3 times per second with a break in between: The identify command has been used by the client. +- blinking 5 times per second: Credentials are being verified and saved to the device. +- off: The improv service is not running. + See Also -------- From 514694ed90e6fe70786f14d16b3ff7e8dbccfc1c Mon Sep 17 00:00:00 2001 From: Daniel Baulig Date: Sat, 14 Oct 2023 21:32:38 -0700 Subject: [PATCH 2/2] 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: