Jason Rumney
|
d4f835b66e
fix (light): don't override switch if it is already indirectly set
|
hai 2 semanas |
Jason Rumney
|
3aadb39a48
fix (light): use the full lower range of light brightness
|
hai 2 meses |
Jason Rumney
|
fc6ddd81b2
fix (device_config): use pending changes when setting multiple dps
|
hai 3 meses |
Jason Rumney
|
a7f888edb6
Light: make supported_color_modes None when none are supported
|
hai 9 meses |
Jason Rumney
|
9ae55460dd
Light: don't change effect if it is the same as current effect.
|
hai 11 meses |
Jason Rumney
|
a75c6ef2f3
Light: when format contains unsupported fields, pass them through
|
hai 1 ano |
Jason Rumney
|
5c9f672146
Rename helpers/mixin.py to entity.py
|
hai 1 ano |
Jason Rumney
|
3100337a77
Fix available in mappings to work as intended.
|
hai 1 ano |
Jason Rumney
|
c6c0a76adc
light: lights with only brightness control should appear off at 0
|
hai 1 ano |
Jason Rumney
|
dfd5a07144
light: return None for color_temp when in HS mode.
|
hai 1 ano |
Jason Rumney
|
7e02977648
light: add debug logging of turn_on parameters
|
hai 1 ano |
Jason Rumney
|
17d646a16d
Light: consider target color mode for brightness adjust method
|
hai 1 ano |
Jason Rumney
|
02f4dbce3e
Light: add support for named_color dp.
|
hai 1 ano |
Jason Rumney
|
1f063c8b12
light: improve conditions when brightness is controlled by rgbhsv
|
hai 1 ano |
Jason Rumney
|
c3a8a7685c
light: fix incorect device reference when turning off effects
|
hai 1 ano |
Jason Rumney
|
59e48159b2
light: include "off" in effects if effect is using color_mode dp.
|
hai 1 ano |
Jason Rumney
|
ec163b1bb2
light: avoid brightness conversion when raw value is unavailable
|
hai 1 ano |
Jason Rumney
|
d0dc80064d
Cleanup: Reformat to satisfy ruff 0.3.0
|
%!s(int64=2) %!d(string=hai) anos |
Jason Rumney
|
7f8210c4ed
Use HA scaling functions for fan speed and light brightness
|
%!s(int64=2) %!d(string=hai) anos |
Jason Rumney
|
5bafe7665e
light: supported_color_modes shoud return a set not a list.
|
%!s(int64=2) %!d(string=hai) anos |
Jason Rumney
|
a1ba3efec0
light: don't try to set brightness dp when switching to colour
|
%!s(int64=2) %!d(string=hai) anos |
Jason Rumney
|
519a72c1a5
Supported features: ensure enums are always used
|
%!s(int64=2) %!d(string=hai) anos |
Jason Rumney
|
0b0bc97973
Light: silently handle out of range color_temp
|
%!s(int64=2) %!d(string=hai) anos |
Jason Rumney
|
376a97e695
Improve warning log message traceability
|
%!s(int64=2) %!d(string=hai) anos |
Jason Rumney
|
1764d0c376
Change light color temperature from mireds to Kelvin.
|
%!s(int64=2) %!d(string=hai) anos |
Jason Rumney
|
232c743308
Use correct color util function to convert from RGB.
|
%!s(int64=2) %!d(string=hai) anos |
Tim Laing
|
8410111dd5
Reformatted using isort & black to match vscode task
|
%!s(int64=2) %!d(string=hai) anos |
Jason Rumney
|
10a26639b5
Entities: call super().__init__ from __init__
|
%!s(int64=2) %!d(string=hai) anos |
Jason Rumney
|
0d28a347af
Use brightness to turn on light when there is no other way.
|
%!s(int64=2) %!d(string=hai) anos |
Jason Rumney
|
919bcb199e
Light: return brightness from color hsv data in colour mode.
|
%!s(int64=2) %!d(string=hai) anos |