Commit graph

151 commits

Author SHA1 Message Date
GitHub Action
efac363cdf [ci skip] Translation update 2022-01-02 00:14:58 +00:00
Sebastian Lövdahl
bc3bf2ffe3
Use Platform constants all over the place 1/3 () 2021-12-28 21:13:20 +01:00
epenet
656d383ba6
Ensure service calls are typed [e-g] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:23:01 +01:00
GitHub Action
5fefb5985f [ci skip] Translation update 2021-12-18 00:13:26 +00:00
GitHub Action
de792e3af2 [ci skip] Translation update 2021-12-02 00:13:02 +00:00
GitHub Action
a925451906 [ci skip] Translation update 2021-11-30 00:13:53 +00:00
GitHub Action
d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
GitHub Action
f0c9f443d1 [ci skip] Translation update 2021-11-15 00:12:46 +00:00
GitHub Action
86b12af3dc [ci skip] Translation update 2021-11-10 00:17:39 +00:00
Marc Mueller
7063c05127
Use assignment expressions 33 () 2021-10-30 16:32:41 +02:00
Erik Montnemery
72d7817dbf
Update light turn_on schema to coerce colors to tuple before asserting sequence type ()
* 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
def7c80e71
Add support for fan groups ()
* Add support for fan groups

* dry

* dry

* fix refactor error

* tweaks

* wip

* tweaks

* tweaks

* fix

* fixes

* coverage

* tweaks
2021-10-26 10:32:49 +02:00
GitHub Action
4634b65924 [ci skip] Translation update 2021-10-21 00:12:43 +00:00
GitHub Action
c76e15149c [ci skip] Translation update 2021-10-17 00:12:27 +00:00
Marc Mueller
12d1dfdaf9
Use assignment expressions 10 () 2021-10-15 21:36:03 +02:00
Robert Hillis
488a636aec
Clean up unused loggers () 2021-10-14 10:03:38 -07:00
Erik Montnemery
7e34860615
Improve state of cover groups ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-10-08 09:52:58 -07:00
Marc Mueller
364767ff22
Import Callable from collections.abc (4) () 2021-09-29 16:15:36 +02:00
Regev Brody
115bb39c10
Fix cover group to handle unknown state properly ()
* fix cover group unknown state

* fix cover grup state

* fix cover group issue
2021-09-29 08:37:16 +02:00
Erik Montnemery
17efafb2ea
Do not set assumed state for binary sensor groups () 2021-09-13 10:40:24 -07:00
Brian Egge
e638e5bb42
Add component for binary sensor groups ()
* Add component for binary sensor groups
https://github.com/home-assistant/home-assistant.io/pull/19239

* Accidental push over prior commit

* Add test for any case

* Add unavailable attribute and tests for unique_id

* Added tests for attributes

link to documentation: https://github.com/home-assistant/home-assistant.io/pull/19297
2021-09-13 15:28:37 +02:00
GitHub Action
f9e6e616f4 [ci skip] Translation update 2021-09-08 00:10:52 +00:00
Marc Mueller
f5a543b220
Remove deprecated device_state_attributes () 2021-09-04 13:16:01 -07:00
Erik Montnemery
20d8c4da90
Report average of position and tilt_position for cover groups () 2021-08-25 16:12:29 +02:00
Erik Montnemery
ee3e27c82a
Add support for white to light groups () 2021-08-23 18:29:44 +02:00
Samuel Tardieu
71b8409c0d
Use a static collection of forwarded attributes ()
Not repeating each attribute name three times lowers the risk of a typo.
Also, only one lookup is done during the kwargs traversal instead of two.
2021-08-20 14:24:16 -07:00
GitHub Action
8c5620e74b [ci skip] Translation update 2021-08-02 03:40:04 +00:00
Franck Nijhof
b4a50f5459
Add unique ID support to light, cover and media player groups () 2021-07-20 13:56:23 +02:00
GitHub Action
0c5ce9cac2 [ci skip] Translation update 2021-07-07 00:11:57 +00:00
Franck Nijhof
bc3e5b39ed
Clean up cover group () 2021-06-16 14:47:29 +02:00
Franck Nijhof
4655e3aa08
Clean up light group () 2021-06-16 14:30:25 +02:00
Erik Montnemery
443463e19d
Emulate color_temp for lights which support color or white ()
* Emulate color_temp for lights which support color or white

* Support legacy lights

* Tidy up group.light code

* Improve color_temp to white conversion

* Remove color_temp to white conversion

* Add test

* Tweak deconz test
2021-06-09 11:23:01 +02:00
GitHub Action
7615af35d8 [ci skip] Translation update 2021-06-07 00:18:16 +00:00
definitio
132ee972bd
Add media_player.group ()
* Add media group

* Minor improvements

* Use the async api for all methods

* Improve type hints

* Add missing methods

* Add tests

* Rename HomeAssistantType —> HomeAssistant

* Add more tests

* Fix unknown state

* Make some callbacks

* Add more tests

* Fix unknown state properly

* Fix names for callbacks

* Fix stop service test

* Improve tests
2021-06-02 21:25:15 +02:00
Erik Montnemery
d2804433d3
Select onoff and brightness color modes last for light groups () 2021-05-25 08:49:24 -07:00
tkdrob
028a07d86f
Wrap up selectors ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
GitHub Action
1f80defe3a [ci skip] Translation update 2021-05-18 00:12:13 +00:00
Franck Nijhof
7221b1e09d
Sort effect lists in light groups () 2021-05-14 21:43:43 -07:00
Erik Montnemery
c2663d61d7
Add color_mode support to group light ()
* Add color_mode support to group light

* Lint

* Update tests
2021-05-06 22:34:51 -07:00
tkdrob
d6c300aeb1
Fix group selector () 2021-05-05 20:15:21 -07:00
tkdrob
6df19205da
Add selectors to group services () 2021-04-27 20:37:59 +02:00
Marc Mueller
c07646db5d
Update typing syntax ()
* Update typing syntax

* Replace typing imports with ones from collections where possible

* Changes after review
2021-04-20 17:40:41 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +02:00
Franck Nijhof
c1d5638739
Remove HomeAssistantType alias from entity components - Part 2 () 2021-03-29 13:24:56 -10:00
Erik Montnemery
346a724ac3
Mark base components' state_attribute @final, rename others to extra_state_attributes ()
* Mark base state_attributes @final, rename others to extra_state_attributes

* Fix calendar, update tests
2021-03-21 10:38:24 +01:00
Marc Mueller
9e1a6610dc
Update typing 07 () 2021-03-18 08:02:55 +01:00
HomeAssistant Azure
c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Franck Nijhof
5d5a110a20
None optional hass typing in base entity and notify () 2021-03-15 15:11:41 +01:00
Erik Montnemery
af4d06b12e
Update integrations f-i to override extra_state_attributes() () 2021-03-11 16:57:47 +01:00
Shay Levy
215ab5fd40
Add type hints to LightEntity () 2021-03-08 21:21:45 +01:00