Jason Rumney
|
3100337a77
Fix available in mappings to work as intended.
|
1 vuosi sitten |
Jason Rumney
|
c6c0a76adc
light: lights with only brightness control should appear off at 0
|
1 vuosi sitten |
Jason Rumney
|
dfd5a07144
light: return None for color_temp when in HS mode.
|
1 vuosi sitten |
Jason Rumney
|
7e02977648
light: add debug logging of turn_on parameters
|
1 vuosi sitten |
Jason Rumney
|
17d646a16d
Light: consider target color mode for brightness adjust method
|
1 vuosi sitten |
Jason Rumney
|
02f4dbce3e
Light: add support for named_color dp.
|
1 vuosi sitten |
Jason Rumney
|
1f063c8b12
light: improve conditions when brightness is controlled by rgbhsv
|
1 vuosi sitten |
Jason Rumney
|
c3a8a7685c
light: fix incorect device reference when turning off effects
|
1 vuosi sitten |
Jason Rumney
|
59e48159b2
light: include "off" in effects if effect is using color_mode dp.
|
1 vuosi sitten |
Jason Rumney
|
ec163b1bb2
light: avoid brightness conversion when raw value is unavailable
|
2 vuotta sitten |
Jason Rumney
|
d0dc80064d
Cleanup: Reformat to satisfy ruff 0.3.0
|
2 vuotta sitten |
Jason Rumney
|
7f8210c4ed
Use HA scaling functions for fan speed and light brightness
|
2 vuotta sitten |
Jason Rumney
|
5bafe7665e
light: supported_color_modes shoud return a set not a list.
|
2 vuotta sitten |
Jason Rumney
|
a1ba3efec0
light: don't try to set brightness dp when switching to colour
|
2 vuotta sitten |
Jason Rumney
|
519a72c1a5
Supported features: ensure enums are always used
|
2 vuotta sitten |
Jason Rumney
|
0b0bc97973
Light: silently handle out of range color_temp
|
2 vuotta sitten |
Jason Rumney
|
376a97e695
Improve warning log message traceability
|
2 vuotta sitten |
Jason Rumney
|
1764d0c376
Change light color temperature from mireds to Kelvin.
|
2 vuotta sitten |
Jason Rumney
|
232c743308
Use correct color util function to convert from RGB.
|
2 vuotta sitten |
Tim Laing
|
8410111dd5
Reformatted using isort & black to match vscode task
|
2 vuotta sitten |
Jason Rumney
|
10a26639b5
Entities: call super().__init__ from __init__
|
2 vuotta sitten |
Jason Rumney
|
0d28a347af
Use brightness to turn on light when there is no other way.
|
2 vuotta sitten |
Jason Rumney
|
919bcb199e
Light: return brightness from color hsv data in colour mode.
|
3 vuotta sitten |
Jason Rumney
|
4194235517
Use HS color rather than RGBW for colour lights.
|
3 vuotta sitten |
Jon
|
d4a2b06b4e
Formatting
|
3 vuotta sitten |
Jon
|
348b060b27
Removed stuff that was added during code learning
|
3 vuotta sitten |
Jon
|
c1a6976b0d
Fixed setting brightness during setting to white color_mode
|
3 vuotta sitten |
Jon
|
38b4227196
Removed code I added when I didn't really understand much
|
3 vuotta sitten |
Jon
|
ba90be6f3f
Inital attempt to get Merkury BW904 Smart Bulb working
|
3 vuotta sitten |
Jason Rumney
|
eb047b4f1d
Add support for Asakuki aroma diffuser
|
3 vuotta sitten |