hass-core/homeassistant/components/open_meteo
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 [ci skip] Translation update 2022-02-16 00:14:09 +00:00
__init__.py Use assignment expressions [K-Z] (#66881) 2022-02-19 17:19:46 +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 Add Open-Meteo integration (second attempt) (#61742) 2021-12-16 21:12:33 +01:00
diagnostics.py Add diagnostics support to Open-Meteo (#64645) 2022-01-22 13:47:51 +01:00
manifest.json Add Open-Meteo integration (second attempt) (#61742) 2021-12-16 21:12:33 +01:00
strings.json Add Open-Meteo integration (second attempt) (#61742) 2021-12-16 21:12:33 +01:00
weather.py Update coordinator typing (4) [o-p] (#68464) 2022-03-21 14:45:24 +01:00