Erik Montnemery
7b247a79cf
Correct min/max mireds for lights which use K for color temp ( #79998 )
2022-10-10 16:45:38 +03:00
Erik Montnemery
2ee6ea9877
Adapt group to color temperature in K ( #79719 )
...
* Adapt group to color temperature in K
* Adjust tests
* Adjust tests
2022-10-10 14:57:22 +02:00
Erik Montnemery
60c8d95a77
Remove white_value support from light ( #76926 )
2022-08-18 08:21:05 -04:00
Erik Montnemery
05e33821fd
Remove white_value support from group light ( #76924 )
2022-08-17 08:01:50 -04:00
Erik Montnemery
9b8c3e37bb
Improve group tests ( #73630 )
2022-06-23 21:38:17 +02:00
epenet
7d2363ad22
Use light enums in tests ( #70801 )
2022-04-26 16:32:00 +02:00
Jeff Rescignano
0720b0f891
Add all option to light group ( #68447 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-03-22 16:09:18 +01:00
Erik Montnemery
3f7b7187ab
Fix controlling nested groups ( #66176 )
2022-02-09 14:27:46 +01:00
Paulus Schoutsen
31153ac155
Move fixtures part 1 ( #58902 )
2021-11-01 20:47:05 -07:00
Erik Montnemery
72d7817dbf
Update light turn_on schema to coerce colors to tuple before asserting sequence type ( #58670 )
...
* Make color_name_to_rgb return a tuple
* Tweak
* Tweak
* Update test
* Tweak test
2021-10-29 15:51:14 +02:00
J. Nick Koston
e6e8d7eded
Convert color temperature to visible color in lights ( #55219 )
2021-08-25 21:56:36 +02:00
Erik Montnemery
ee3e27c82a
Add support for white to light groups ( #55082 )
2021-08-23 18:29:44 +02:00
Franck Nijhof
b4a50f5459
Add unique ID support to light, cover and media player groups ( #53225 )
2021-07-20 13:56:23 +02:00
Erik Montnemery
d2804433d3
Select onoff and brightness color modes last for light groups ( #51054 )
2021-05-25 08:49:24 -07:00
Joakim Sørensen
2f10f59717
Block custom integrations with missing or invalid version ( #49916 )
2021-05-17 15:48:41 +02:00
Franck Nijhof
7221b1e09d
Sort effect lists in light groups ( #50620 )
2021-05-14 21:43:43 -07:00
Erik Montnemery
c2663d61d7
Add color_mode support to group light ( #50165 )
...
* Add color_mode support to group light
* Lint
* Update tests
2021-05-06 22:34:51 -07:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Franck Nijhof
64d3cdfb41
Add nested light group test ( #41764 )
2020-10-13 08:37:16 -05:00
J. Nick Koston
3880ac0b0d
Ensure group state is recalculated when re-adding on reload ( #40497 )
2020-09-23 20:55:32 +02:00
J. Nick Koston
a778690b64
Support reloading the group notify platform ( #39511 )
2020-09-03 00:12:07 +02:00
Paulus Schoutsen
6de02fc1b9
Fix some more usages of asynctest ( #39570 )
2020-09-02 14:53:07 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
J. Nick Koston
810df38f0d
Add the ability to reload light/cover groups from yaml ( #39250 )
...
* Add the ability to reload light/cover groups from yaml
Update previous usage to reduce code duplication.
* Fix conflict from rebase
2020-08-25 18:13:43 -05:00
J. Nick Koston
63ebea1706
Ensure the context is passed to group changes ( #39221 )
2020-08-26 00:22:10 +02:00
Matthew Garrett
34e2a1825b
Add support for exposing light effects via Google Assistant ( #38575 )
...
* Don't set SUPPORT_EFFECT on DemoLight if there are no effects
This requires an update to the group test - previously the other lights
instantiated by the DemoLight component had nothing in ATTR_EFFECT_LIST, but
still had SUPPORT_EFFECT set. This appears to have resulted in the light
group test code setting an effect on the group and expecting it to apply to
all lights, but given that two of the bulbs didn't actually support any
effects (due to the empty ATTR_EFFECT_LIST) this seems like a broken
assumption and updating the test to verify only the bulb that supports
effects has had one applied seems reasonable.
* Add support for exposing light effects via Google Assistant
The LightEffects trait only supports a fixed (and small) list of lighting
effects, but we can expose them via the Modes trait - this requires saying
"Set (foo) effect to (bar)" which is a little clumsy, but at least makes it
possible.
2020-08-08 14:28:04 -07:00
Franck Nijhof
f42eb0d5ca
Fix missing service call context in multiple locations ( #37094 )
2020-06-25 17:09:52 -07:00
Thomas Lovén
bdc098645b
Add entity list to light and cover group attributes ( #36477 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-06-05 21:23:52 -07:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Franck Nijhof
6d24a65313
Various light test improvements ( #34131 )
2020-04-13 15:33:04 +02:00
Bram Kragten
4c4e5f3fa9
Fix demos ( #32086 )
...
* Fixes for demos
* Update vacuum.py
* Comment
* Fix tests
2020-03-11 08:16:22 -07:00
Bryan York
f45f8f2f3d
Emulate color temperature for non-ct lights in light groups ( #23495 )
...
* Emulate color temperature for non-ct lights in light groups
* fix tests
* Address review comments
* Fix black formatting
* Fix for pylint
* Address comments
* Fix black formatting
* Address comments
2019-09-15 20:53:05 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Erik Montnemery
5376e15286
Convert some test helpers to coroutines and adjust tests ( #23352 )
...
* Convert some test helpers to coroutines
* Fix tests
2019-04-25 10:14:16 +02:00
Paulus Schoutsen
1ddc249989
Consolidate more platforms ( #22308 )
...
* Consolidate final platforms
* Fix some tests
* Fix more tests
* Fix more tests
2019-03-23 20:22:35 -07:00