epenet
9f1cc638c9
Move blebox base entity to separate module ( #126027 )
2024-09-16 11:26:12 +02:00
Michał Jaworski
883e33e72a
Fix mired range in blebox color temp mode lights ( #124258 )
...
* fix: use default mired range in belbox lights running in color temp mode
* fix: ruff
2024-09-06 16:59:14 +02:00
Marc Mueller
ff3a801936
Add empty line after module docstring [a-d] ( #112697 )
2024-03-08 14:51:32 +01:00
Erik Montnemery
3086d24231
Add back supported_color_modes
property to blebox
light ( #110350 )
2024-02-12 19:59:04 +01:00
Franck Nijhof
b0cee0bc46
String formatting and max line length - Part 1 ( #84390 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
epenet
374d46ec09
Improve type hints in blebox ( #80511 )
...
* Add generics to blebox
* Remove walrus
* Move logic into each platform
* Code style
* Apply suggestion
2022-10-19 17:49:40 +02:00
epenet
61af82223f
Improve type hint in blebox light entity ( #77013 )
...
* Improve type hint in blebox light entity
* Adjust
* Adjust supported_features
* Adjust effect_list property
* Improve base class
2022-08-19 10:58:51 +02:00
epenet
dedf063e43
Improve entity type hints [b] ( #77012 )
2022-08-19 09:54:13 +02:00
Michał Huryn
169264db66
Fix Blebox light scenes ( #75106 )
...
* Bug fix for light platform, when async_turn_on recieves multiple keys.
* Changes according to @MartinHjelmare suggestion.
* Moved effect set call in BleBoxLightEntity.async_turn_on method.
* Added tests for effect in light platform. Added ValueError raise if effect not in effect list.
* Removed duplicated line from test as @MartinHjelmare suggested.
2022-07-14 11:21:01 +02:00
Michał Huryn
e7e940afa5
Address Blebox uniapi review sidenotes ( #74298 )
...
* Changes accordingly to sidenotes given by @MartinHjelmare in pull #73834 .
* Mini version bump according to notes in pull #73834 .
* Error message fix, test adjustment.
2022-07-03 17:06:38 +02:00
Michał Huryn
b5af96e4bb
Bump blebox_uniapi to 2.0.0 and adapt integration ( #73834 )
2022-06-29 11:57:55 +02:00
epenet
643d04a717
Use ColorMode enum in blebox ( #70426 )
2022-04-22 19:49:39 -10:00
epenet
7f9b7c7b0e
Add light setup type hints [a-i] ( #63291 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:02:21 +01:00
Marc Mueller
5048bad050
Use assignment expressions 05 ( #57785 )
2021-10-17 19:56:00 +02:00
Robert Hillis
9b2107b71f
Use entity class attributes for Blebox ( #52890 )
...
* Use entity class attributes for blebox
* rework
* Apply suggestions from code review
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-12 22:52:38 +02:00
Erik Montnemery
2583e4bdc9
Add support for RGBW color to blebox light ( #49562 )
2021-05-24 12:24:07 +02:00
gadgetmobile
93fddbed2b
Fix review requests for BleBox support from #35370 ( #35786 )
...
* fix review requests from #35370
* fix pylint W0621 (redefined-outer-name)
2020-05-18 22:30:15 +02:00
gadgetmobile
902eb187ef
Add Blebox lights support ( #35370 )
...
* add BleBox lights support
* cherry pick refactoring from #35552
* Inherit from LightEntity instead of Light
Co-authored-by: J. Nick Koston <nick@koston.org>
* import LightEntity instead of Light
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-05-17 18:54:32 -05:00