Compare commits

...

14 commits

Author SHA1 Message Date
Bas Nijholt
63b5c15135
Merge branch 'main' into change_default_config_values 2023-04-27 13:01:54 -07:00
Benjamin Auquite
0674d67907 Revert "Delete services.yaml"
This reverts commit 4f5305e16a.
2023-04-12 00:56:01 -05:00
Benjamin Auquite
4f5305e16a
Delete services.yaml 2023-04-12 00:55:08 -05:00
Benjamin Auquite
399dd6a849 Merge branch 'main' into change_default_config_values 2023-04-10 13:00:37 -05:00
Benjamin Auquite
dfd92b5f93 Merge branch 'main' into change_default_config_values 2023-04-08 00:51:20 -05:00
Benjamin Auquite
5d274fe597
Merge branch 'main' into change_default_config_values 2023-04-05 18:40:15 -05:00
Benjamin Auquite
c680858ef9
Merge branch 'main' into change_default_config_values 2023-04-04 03:09:43 -05:00
github-actions[bot]
152637dd34 Update README.md, strings.json, and services.yaml 2023-04-04 00:50:38 +00:00
Benjamin Auquite
cf1a253949
Merge 811fe8d412 into 981287edb9 2023-04-03 19:48:36 -05:00
Benjamin Auquite
811fe8d412 Merge branch 'main' into change_default_config_values 2023-04-03 19:48:31 -05:00
Benjamin Auquite
732c43acc1 merge with upstream/main 2023-04-03 19:47:51 -05:00
github-actions[bot]
8c21f03851 Update README.md 2023-04-03 21:25:13 +00:00
Benjamin Auquite
1d3acae5fb
Merge df2c83c490 into 26974c8fd5 2023-04-03 21:23:30 +00:00
Benjamin Auquite
df2c83c490 Update const.py 2023-04-03 16:22:32 -05:00
3 changed files with 8 additions and 8 deletions

View file

@ -95,15 +95,15 @@ The YAML and frontend configuration methods support all of the options listed be
| `lights` | List of light entity_ids to be controlled (may be empty). 🌟 | `[]` | list of `entity_id`s |
| `prefer_rgb_color` | Whether to prefer RGB color adjustment over light color temperature when possible. 🌈 | `False` | `bool` |
| `include_config_in_attributes` | Show all options as attributes on the switch in Home Assistant when set to `true`. 📝 | `False` | `bool` |
| `initial_transition` | Duration of the first transition when lights turn from `off` to `on` in seconds. ⏲️ | `1` | `float` 0-6553 |
| `sleep_transition` | Duration of transition when "sleep mode" is toggled in seconds. 😴 | `1` | `float` 0-6553 |
| `initial_transition` | Duration of the first transition when lights turn from `off` to `on` in seconds. ⏲️ | `120` | `float` 0-6553 |
| `sleep_transition` | Duration of transition when "sleep mode" is toggled in seconds. 😴 | `15` | `float` 0-6553 |
| `transition` | Duration of transition when lights change, in seconds. 🕑 | `45` | `float` 0-6553 |
| `transition_until_sleep` | When enabled, Adaptive Lighting will treat sleep settings as the minimum, transitioning to these values after sunset. 🌙 | `False` | `bool` |
| `interval` | Frequency to adapt the lights, in seconds. 🔄 | `90` | `int > 0` |
| `interval` | Frequency to adapt the lights, in seconds. 🔄 | `5` | `int > 0` |
| `min_brightness` | Minimum brightness percentage. 💡 | `1` | `int` 1-100 |
| `max_brightness` | Maximum brightness percentage. 💡 | `100` | `int` 1-100 |
| `min_color_temp` | Warmest color temperature in Kelvin. 🔥 | `2000` | `int` 1000-10000 |
| `max_color_temp` | Coldest color temperature in Kelvin. ❄️ | `5500` | `int` 1000-10000 |
| `max_color_temp` | Coldest color temperature in Kelvin. ❄️ | `6500` | `int` 1000-10000 |
| `sleep_brightness` | Brightness percentage of lights in sleep mode. 😴 | `1` | `int` 1-100 |
| `sleep_rgb_or_color_temp` | Use either `"rgb_color"` or `"color_temp"` in sleep mode. 🌙 | `color_temp` | one of `['color_temp', 'rgb_color']` |
| `sleep_color_temp` | Color temperature in sleep mode (used when `sleep_rgb_or_color_temp` is `color_temp`) in Kelvin. 😴 | `1000` | `int` 1000-10000 |

View file

@ -42,24 +42,24 @@ DOCS[CONF_INCLUDE_CONFIG_IN_ATTRIBUTES] = (
"Home Assistant when set to `true`. 📝"
)
CONF_INITIAL_TRANSITION, DEFAULT_INITIAL_TRANSITION = "initial_transition", 1
CONF_INITIAL_TRANSITION, DEFAULT_INITIAL_TRANSITION = "initial_transition", 120
DOCS[CONF_INITIAL_TRANSITION] = (
"Duration of the first transition when lights turn "
"from `off` to `on` in seconds. ⏲️"
)
CONF_SLEEP_TRANSITION, DEFAULT_SLEEP_TRANSITION = "sleep_transition", 1
CONF_SLEEP_TRANSITION, DEFAULT_SLEEP_TRANSITION = "sleep_transition", 15
DOCS[CONF_SLEEP_TRANSITION] = (
'Duration of transition when "sleep mode" is toggled ' "in seconds. 😴"
)
CONF_INTERVAL, DEFAULT_INTERVAL = "interval", 90
CONF_INTERVAL, DEFAULT_INTERVAL = "interval", 5
DOCS[CONF_INTERVAL] = "Frequency to adapt the lights, in seconds. 🔄"
CONF_MAX_BRIGHTNESS, DEFAULT_MAX_BRIGHTNESS = "max_brightness", 100
DOCS[CONF_MAX_BRIGHTNESS] = "Maximum brightness percentage. 💡"
CONF_MAX_COLOR_TEMP, DEFAULT_MAX_COLOR_TEMP = "max_color_temp", 5500
CONF_MAX_COLOR_TEMP, DEFAULT_MAX_COLOR_TEMP = "max_color_temp", 6500
DOCS[CONF_MAX_COLOR_TEMP] = "Coldest color temperature in Kelvin. ❄️"
CONF_MIN_BRIGHTNESS, DEFAULT_MIN_BRIGHTNESS = "min_brightness", 1

0
custom_components/adaptive_lighting/services.yaml Normal file → Executable file
View file