core/script/scaffold
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
..
templates Add SelectorType enum and TypedDicts for each selector's data (#68399) 2022-04-11 09:20:56 +02:00
__init__.py Add integration scaffolding script (#26777) 2019-09-20 17:02:18 -07:00
__main__.py Fix scaffold script (#68516) 2022-03-22 19:51:24 +01:00
const.py Add integration scaffolding script (#26777) 2019-09-20 17:02:18 -07:00
docs.py Add scaffold template for backup (#68961) 2022-03-31 14:18:45 +02:00
error.py Split scaffolding script (#26832) 2019-09-22 21:46:50 -06:00
gather_info.py Add scaffold for helper integration config flow (#67803) 2022-03-16 12:57:56 +01:00
generate.py Move Local OAuth http endpoint registration to auth component (#69507) 2022-04-06 22:34:31 -07:00
model.py Fix scaffold script (#68516) 2022-03-22 19:51:24 +01:00