hass-core/homeassistant/components/switch_as_x
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
..
translations Improve switch_as_x translation strings (#69249) 2022-04-04 17:53:16 +02:00
__init__.py Hide switch_as_x tracked entity (#67949) 2022-03-14 19:39:07 +01:00
config_flow.py Add SelectorType enum and TypedDicts for each selector's data (#68399) 2022-04-11 09:20:56 +02:00
const.py Small improvements for Switch as X (#68079) 2022-03-13 19:34:02 +01:00
cover.py Use EntityFeature enum in switch_as_x (#69442) 2022-04-07 08:14:10 +03:00
entity.py Add base entity to Switch as X (#68057) 2022-03-13 00:04:00 -08:00
fan.py Cleanup after pylint update (#68657) 2022-03-26 00:34:12 +01:00
light.py Add base entity to Switch as X (#68057) 2022-03-13 00:04:00 -08:00
lock.py Add Lock platform to Switch as X (#68123) 2022-03-14 10:45:45 -07:00
manifest.json Prettify json (manifest.json) (#68886) 2022-03-30 10:56:37 +02:00
siren.py Use SirenEntityFeature enum in components (#69645) 2022-04-08 09:13:12 +02:00
strings.json Improve switch_as_x translation strings (#69249) 2022-04-04 17:53:16 +02:00