From 36154ca606c0792d9ff0989a278991aec3a34f4e Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Sun, 26 Mar 2023 18:21:00 -0700 Subject: [PATCH] Format the Markdown table in README.md (#471) --- README.md | 60 +++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 89232f79..23ff9287 100644 --- a/README.md +++ b/README.md @@ -50,36 +50,36 @@ adaptive_lighting: ``` ### Options -| option | description | required | default | type | -| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------------- | ------- | -| `name` | The name to use when displaying this switch. | False | default | string | -| `include_config_in_attributes` | When set to `true`, will list all of the below options as attributes on the switch in Home Assistant. | False | False | boolean | -| `lights` | List of light entities for Adaptive Lighting to control (may be empty). | False | list | [] | -| `prefer_rgb_color` | Whether to use RGB color adjustment instead of native light color temperature. | False | False | boolean | -| `initial_transition` | How long the first transition is when the lights go from `off` to `on`. | False | 1 | time | -| `sleep_transition` | How long the transition is when when "sleep mode" is toggled | False | 1 | time | -| `transition` | How long the transition is when the lights change, in seconds. | False | 45 | integer | -| `interval` | How often to adapt the lights, in seconds. | False | 90 | integer | -| `min_brightness` | The minimum percent of brightness to set the lights to. | False | 1 | integer | -| `max_brightness` | The maximum percent of brightness to set the lights to. | False | 100 | integer | -| `min_color_temp` | The warmest color temperature to set the lights to, in Kelvin. | False | 2000 | integer | -| `max_color_temp` | The coldest color temperature to set the lights to, in Kelvin. | False | 5500 | integer | -| `sleep_brightness` | Brightness of lights while the sleep mode is enabled. | False | 1 | integer | -| `sleep_rgb_or_color_temp` | Use either 'rgb_color' or 'color_temp' when in sleep mode. | False | 'color_temp' | string | -| `sleep_rgb_color` | List of three numbers between 0-255, indicating the RGB color in sleep mode (only used when sleep_rgb_or_color_temp is 'rgb_color'). | False | `[255, 56, 0]` | list | -| `sleep_color_temp` | Color temperature of lights while the sleep mode is enabled (only used when sleep_rgb_or_color_temp is 'color_temp'). | False | 1000 | integer | -| `sunrise_time` | Override the sunrise time with a fixed time. | False | None | time | -| `max_sunrise_time` | Make the virtual sun always rise at at most a specific time while still allowing for even earlier times based on the real sun | False | None | time | -| `sunrise_offset` | Change the sunrise time with a positive or negative offset. | False | 0 | time | -| `sunset_time` | Override the sunset time with a fixed time. | False | None | time | -| `min_sunset_time` | Make the virtual sun always set at at least a specific time while still allowing for even later times based on the real sun | False | None | time | -| `sunset_offset` | Change the sunset time with a positive or negative offset. | False | 0 | time | -| `only_once` | Whether to keep adapting the lights (false) or to only adapt the lights as soon as they are turned on (true). | False | False | boolean | -| `take_over_control` | If another source calls `light.turn_on` while the lights are on and being adapted, disable Adaptive Lighting. | False | True | boolean | -| `detect_non_ha_changes` | Whether to detect state changes and stop adapting lights, even not from `light.turn_on`. Needs `take_over_control` to be enabled. Note that by enabling this option, it calls 'homeassistant.update_entity' every 'interval'! | False | False | boolean | -| `separate_turn_on_commands` | Whether to use separate `light.turn_on` calls for color and brightness, needed for some types of lights | False | False | boolean | -| `send_split_delay` | Wait between commands (milliseconds), when separate_turn_on_commands is used. May ensure that both commands are handled by the bulb correctly. | False | 0 | integer | -| `adapt_delay` | Wait time in seconds between light turn on, and Adaptive Lights applying changes to the light state. May avoid flickering. | False | 0 | integer | +| option | description | required | default | type | +| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------------- | ------- | +| `name` | The name to use when displaying this switch. | False | default | string | +| `include_config_in_attributes` | When set to `true`, will list all of the below options as attributes on the switch in Home Assistant. | False | False | boolean | +| `lights` | List of light entities for Adaptive Lighting to control (may be empty). | False | list | [] | +| `prefer_rgb_color` | Whether to use RGB color adjustment instead of native light color temperature. | False | False | boolean | +| `initial_transition` | How long the first transition is when the lights go from `off` to `on`. | False | 1 | time | +| `sleep_transition` | How long the transition is when when "sleep mode" is toggled | False | 1 | time | +| `transition` | How long the transition is when the lights change, in seconds. | False | 45 | integer | +| `interval` | How often to adapt the lights, in seconds. | False | 90 | integer | +| `min_brightness` | The minimum percent of brightness to set the lights to. | False | 1 | integer | +| `max_brightness` | The maximum percent of brightness to set the lights to. | False | 100 | integer | +| `min_color_temp` | The warmest color temperature to set the lights to, in Kelvin. | False | 2000 | integer | +| `max_color_temp` | The coldest color temperature to set the lights to, in Kelvin. | False | 5500 | integer | +| `sleep_brightness` | Brightness of lights while the sleep mode is enabled. | False | 1 | integer | +| `sleep_rgb_or_color_temp` | Use either 'rgb_color' or 'color_temp' when in sleep mode. | False | 'color_temp' | string | +| `sleep_rgb_color` | List of three numbers between 0-255, indicating the RGB color in sleep mode (only used when sleep_rgb_or_color_temp is 'rgb_color'). | False | `[255, 56, 0]` | list | +| `sleep_color_temp` | Color temperature of lights while the sleep mode is enabled (only used when sleep_rgb_or_color_temp is 'color_temp'). | False | 1000 | integer | +| `sunrise_time` | Override the sunrise time with a fixed time. | False | None | time | +| `max_sunrise_time` | Make the virtual sun always rise at at most a specific time while still allowing for even earlier times based on the real sun | False | None | time | +| `sunrise_offset` | Change the sunrise time with a positive or negative offset. | False | 0 | time | +| `sunset_time` | Override the sunset time with a fixed time. | False | None | time | +| `min_sunset_time` | Make the virtual sun always set at at least a specific time while still allowing for even later times based on the real sun | False | None | time | +| `sunset_offset` | Change the sunset time with a positive or negative offset. | False | 0 | time | +| `only_once` | Whether to keep adapting the lights (false) or to only adapt the lights as soon as they are turned on (true). | False | False | boolean | +| `take_over_control` | If another source calls `light.turn_on` while the lights are on and being adapted, disable Adaptive Lighting. | False | True | boolean | +| `detect_non_ha_changes` | Whether to detect state changes and stop adapting lights, even not from `light.turn_on`. Needs `take_over_control` to be enabled. Note that by enabling this option, it calls 'homeassistant.update_entity' every 'interval'! | False | False | boolean | +| `separate_turn_on_commands` | Whether to use separate `light.turn_on` calls for color and brightness, needed for some types of lights | False | False | boolean | +| `send_split_delay` | Wait between commands (milliseconds), when separate_turn_on_commands is used. May ensure that both commands are handled by the bulb correctly. | False | 0 | integer | +| `adapt_delay` | Wait time in seconds between light turn on, and Adaptive Lights applying changes to the light state. May avoid flickering. | False | 0 | integer | Full example: