core/script
Raman Gupta b325c112b4
Add SelectorType enum and TypedDicts for each selector's data (#68399)
* rebase off current

* rearrange

* Overload selector function

* Update/fix all selector references

* better typing?

* remove extra option

* move things around

* Switch to Sequence type to avoid ignoring mypy error

* Get rid of ...'s

* Improve typing to reduce number of ignores

* Remove all typing ignores

* Make config optional for selectors that don't need a config

* add missing unit prefixes

* Rename TypedDicts

* Update homeassistant/helpers/selector.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* review feedback

* remove peta from integration integration

* Fix min_max

* Revert change to selector function

* Fix logic

* Add typing for selector classes

* Update selector.py

* Fix indent

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-11 09:20:56 +02:00
..
hassfest Add type hints to yeelight (#69213) 2022-04-04 10:58:44 +02:00
scaffold Add SelectorType enum and TypedDicts for each selector's data (#68399) 2022-04-11 09:20:56 +02:00
translations Remove deprecated (old) Z-Wave integration (#67221) 2022-03-18 13:09:10 +01:00
__init__.py Add init for run inside devcontainer 2019-11-19 13:53:12 +00:00
bootstrap Upgrade to newer Python pip>=21.0 (#59769) 2022-02-07 15:12:04 +01:00
check_dirty Fail if dirty (#16839) 2018-09-25 20:47:51 +02:00
check_format Blacken top level *.py (#25621) 2019-08-01 08:30:49 -07:00
gen_requirements_all.py Revert "Pin click to fix typer issue" (#68927) 2022-03-31 14:53:18 +02:00
inspect_schemas.py Improve string formatting v4 (#33668) 2020-04-05 16:01:41 +02:00
lazytox.py Clean lazytox script (#48583) 2021-04-01 11:34:01 -07:00
lint Always run flake8 through pre-commit, and with doctests (#28490) 2019-11-06 21:38:00 +02:00
monkeytype Add script to run monkeytype typing on test suite (#14440) 2018-06-21 15:06:05 +02:00
pip_check Bump smarttub to 0.0.31 (#69599) 2022-04-07 23:07:33 +02:00
run-in-env.sh Secure not to activate multiple venv in pre_commit hook (#51715) 2021-06-10 19:27:24 +02:00
server Improve development workflow in docker (#5079) 2017-01-02 22:04:09 +01:00
setup Upgrade to newer Python pip>=21.0 (#59769) 2022-02-07 15:12:04 +01:00
update Improve development workflow in docker (#5079) 2017-01-02 22:04:09 +01:00
version_bump.py Fix nightly builder (#67022) 2022-02-22 11:27:38 +01:00