core/homeassistant/components/tankerkoenig
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
__init__.py Add "station is open" sensor to Tankerkoenig (#68925) 2022-03-31 13:45:58 -07:00
binary_sensor.py Add "station is open" sensor to Tankerkoenig (#68925) 2022-03-31 13:45:58 -07: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 Add "station is open" sensor to Tankerkoenig (#68925) 2022-03-31 13:45:58 -07:00
manifest.json
sensor.py Add pylint plugin for deprecated STATE_CLASS_* (#69237) 2022-04-04 11:45:53 +02:00
strings.json Prettify json (strings.json) (#68885) 2022-03-30 10:35:30 +02:00