Commit graph

14 commits

Author SHA1 Message Date
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] (#112705) 2024-03-08 10:35:23 -05:00
Erik Montnemery
b0ed8c4961
Migrate integrations s-t to generic flowhandler (#111865) 2024-02-29 22:16:14 +01:00
Jan-Philipp Benecke
286c5faa79
Address late review of Tankerkoenig package move (#109277) 2024-02-01 11:14:33 +01:00
Jan-Philipp Benecke
71c2460161
Move tankerkoenig to new aiotankerkoenig package (#108913)
* Move tankerkoenig to new aiotankerkoenig package

* Fix config flow coverage

* Process code review suggestions

* Process code review suggestions
2024-01-31 14:57:08 +01:00
Michael
551d52103d
Remove deprecated tankerkoenig YAML config (#84711)
remove yaml import
2022-12-28 16:11:40 -05:00
Franck Nijhof
f39f3b612a
String formatting and max line length - Part 5 (#84501)
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-12-23 16:43:17 +01:00
epenet
d72c28a135
Use UnitOfLength in integrations (#84034) 2022-12-15 12:42:53 +01:00
epenet
dc039f5218
Use standard argument name in async_step_reauth (#74137) 2022-06-28 17:12:32 +02:00
Michael
3258d572b0
Add re-auth flow to Tankerkoenig (#72682)
* add reauth flow

* add test

* use Mapping for async_step_reauth arguments

* only update changed data

* improve tests

* use different api key to test reauth
2022-05-31 23:46:12 +02:00
epenet
627d6f7803
Ensure description_placeholders is always typed (#72716) 2022-05-31 10:33:34 +02:00
Michael
1ed7e226c6
Address late review comments for Tankerkoenig (#72672)
* address late review comment from #72654

* use entry_id instead of unique_id

* remove not needed `_hass` property

* fix skiping failing stations

* remove not neccessary error log

* set DeviceEntryType.SERVICE

* fix use entry_id instead of unique_id

* apply suggestions on tests

* add return value also to other tests

* invert data check to early return user form
2022-05-29 20:57:47 +02:00
Michael
a4f678e7c9
Manage stations via integrations configuration in Tankerkoenig (#72654) 2022-05-28 13:31:03 -07:00
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
Michael
2f7aeb64d2
Add config flow to Tankerkoenig (#68386) 2022-03-29 20:23:30 -07:00