hass-core/script/scaffold/templates
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
..
backup Add scaffold template for backup (#68961) 2022-03-31 14:18:45 +02:00
config_flow Use assignment expression for unload_ok in scaffold templates (#64286) 2022-01-17 14:49:26 +01:00
config_flow_discovery/integration Use assignment expression for unload_ok in scaffold templates (#64286) 2022-01-17 14:49:26 +01:00
config_flow_helper Add SelectorType enum and TypedDicts for each selector's data (#68399) 2022-04-11 09:20:56 +02:00
config_flow_oauth2 Use assignment expression for unload_ok in scaffold templates (#64286) 2022-01-17 14:49:26 +01:00
device_action Make device automation type an enum (#62354) 2021-12-20 19:16:30 +01:00
device_condition Make device automation type an enum (#62354) 2021-12-20 19:16:30 +01:00
device_trigger Make device automation type an enum (#62354) 2021-12-20 19:16:30 +01:00
integration/integration ConfigType and async_setup/setup type hint improvements (#54739) 2021-08-18 13:22:05 +02:00
reproduce_state Clean up async_reproduce_state helper usage (#68617) 2022-03-24 14:40:54 +01:00
significant_change Update typing 16 (#48087) 2021-03-18 22:58:19 +01:00