core/homeassistant/components/group
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 Update group description (#68882) 2022-03-30 10:16:04 +02:00
__init__.py Return unsubscribe callback from start.async_at_start (#69083) 2022-04-01 23:34:36 +02:00
binary_sensor.py Add config flow for binary_sensor group (#67802) 2022-03-10 10:39:51 +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 Allow hiding and unhiding group members (#68192) 2022-03-22 12:14:34 +01:00
cover.py Use EntityFeature in group (#69393) 2022-04-06 11:56:05 +02:00
fan.py Use EntityFeature in group (#69393) 2022-04-06 11:56:05 +02:00
light.py Use EntityFeature in group (#69393) 2022-04-06 11:56:05 +02:00
lock.py Add lock groups (#68857) 2022-03-29 17:07:23 -07:00
manifest.json Prettify json (manifest.json) (#68886) 2022-03-30 10:56:37 +02:00
media_player.py Use EntityFeature in group (#69393) 2022-04-06 11:56:05 +02:00
notify.py
reproduce_state.py
services.yaml Update core services files with new selectors (#68810) 2022-03-28 17:17:16 -07:00
strings.json Update group description (#68882) 2022-03-30 10:16:04 +02:00
switch.py Simplify is_on state for switch groups (#68805) 2022-03-29 07:09:42 +02:00
util.py