Commit graph

70 commits

Author SHA1 Message Date
Richard T. Schaefer
15580281a3
Allow area, device, and entity selectors to optionally support multiple selections like target selector ()
* Allow area, device, and entity selectors to optionally support multiple selections like target selector

* Update according to code review comments

* Adjust tests

* Update according to review comments

* Tweak error message for multiple entities

Co-authored-by: Erik <erik@montnemery.com>
2022-03-03 10:35:06 +01:00
Marc Mueller
ec980a574b
Improve typing [util.decorator] () 2022-02-23 20:58:42 +01:00
Erik Montnemery
ec67dcb620
Add support for validating and serializing selectors ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-18 14:24:08 -08:00
Marc Mueller
238b488642
Use assignment expressions 03 () 2021-10-17 20:08:11 +02:00
Marc Mueller
77ee72cbb9
Import Callable from collections.abc (1) () 2021-09-29 16:32:11 +02:00
Marc Mueller
f1d48ddfe3
Update pylint to 2.8.0 () 2021-04-24 14:39:24 -10:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ()
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
Marc Mueller
4cb7718192
Update typing 16 () 2021-03-18 22:58:19 +01:00
Joakim Sørensen
11a89bc3ac
Add addon selector () 2021-02-24 17:02:48 +01:00
Matteo Agnoletto
eaa2d371a7
Add select selector for blueprints ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-02-08 14:03:26 +01:00
Thomas Lovén
06ade6129c
Add selectors for text and arbitrary objects ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-01-27 09:20:19 +01:00
Bram Kragten
d93687b5ac
Update area and target selectors add sequence selector ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-12-02 09:30:49 +01:00
Paulus Schoutsen
a5c79a1f84
Add support for device class in target selector () 2020-11-30 23:35:24 +01:00
Paulus Schoutsen
dd513147a5
Add a service target () 2020-11-28 23:33:32 +01:00
Bram Kragten
4aa181416c
Add area selector, remove date selector ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-26 15:44:25 +01:00
Bram Kragten
3767af14f3
Add more selectors () 2020-11-25 20:03:56 +01:00
Paulus Schoutsen
b3be708db6
Add default config if not there ()
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-25 15:10:04 +01:00
Paulus Schoutsen
43ba053030
Add support for checking minimum HA version () 2020-11-20 15:24:42 +01:00
Bram Kragten
5dcbb634f6
Fix selector to return the selector type () 2020-11-19 16:48:43 +01:00
Paulus Schoutsen
bae026a6fe
Add support for selectors in services.yaml ()
* Add support for selectors in services.yaml

* Add base schema validation
2020-11-13 22:53:55 +01:00