Commit graph

109 commits

Author SHA1 Message Date
GitHub Action
ccef03f1d4 [ci skip] Translation update 2022-09-02 00:25:46 +00:00
GitHub Action
eef7bdb44b [ci skip] Translation update 2022-08-22 00:27:12 +00:00
GitHub Action
a434d755b3 [ci skip] Translation update 2022-08-19 00:27:31 +00:00
GitHub Action
519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
GitHub Action
cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
GitHub Action
81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
GitHub Action
c4ad6d46ae [ci skip] Translation update 2022-07-30 00:22:48 +00:00
GitHub Action
87797c8b66 [ci skip] Translation update 2022-07-21 00:26:18 +00:00
GitHub Action
a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
GitHub Action
5d8e1b8387 [ci skip] Translation update 2022-07-12 00:24:26 +00:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
epenet
dc039f5218
Use standard argument name in async_step_reauth (#74137) 2022-06-28 17:12:32 +02:00
GitHub Action
33c263d09b [ci skip] Translation update 2022-06-23 00:20:13 +00:00
GitHub Action
78dd522ccd [ci skip] Translation update 2022-06-22 00:26:36 +00:00
GitHub Action
42d39d2c7e [ci skip] Translation update 2022-06-13 00:25:34 +00:00
GitHub Action
05e5dd7baf [ci skip] Translation update 2022-06-07 00:20:09 +00:00
GitHub Action
7f0091280f [ci skip] Translation update 2022-06-06 00:21:14 +00:00
GitHub Action
636f650563 [ci skip] Translation update 2022-06-04 00:23:28 +00:00
GitHub Action
43b802252a [ci skip] Translation update 2022-06-03 00:19:45 +00:00
GitHub Action
7746715590 [ci skip] Translation update 2022-06-02 00:27:51 +00:00
GitHub Action
0df9cc907a [ci skip] Translation update 2022-06-01 00:27:00 +00: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
GitHub Action
362f5720ed [ci skip] Translation update 2022-05-31 00:23:11 +00:00
GitHub Action
3c5b778ee3 [ci skip] Translation update 2022-05-30 00:27:06 +00: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
GitHub Action
7a0657c386 [ci skip] Translation update 2022-05-29 00:23:25 +00:00
Michael
a4f678e7c9
Manage stations via integrations configuration in Tankerkoenig (#72654) 2022-05-28 13:31:03 -07:00
GitHub Action
ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
GitHub Action
37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
Michael
d90937182e
Fix "station is open" binary sensor in Tankerkoenig (#70928) 2022-04-29 12:29:06 -07:00
GitHub Action
348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00: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
epenet
76247414bf
Add pylint plugin for deprecated STATE_CLASS_* (#69237) 2022-04-04 11:45:53 +02:00
Michael
c6cd474312
Add "station is open" sensor to Tankerkoenig (#68925) 2022-03-31 13:45:58 -07:00
Michael
3ccec8f051
Address late review of Tankerkoenig (#68919) 2022-03-30 21:07:00 +02:00
epenet
e362871499
Prettify json (strings.json) (#68885) 2022-03-30 10:35:30 +02:00
Michael
2f7aeb64d2
Add config flow to Tankerkoenig (#68386) 2022-03-29 20:23:30 -07:00
Michael
23c47c2206
Add state class to Tankerkoenig fuel price sensors (#68737) 2022-03-28 09:48:25 +02:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
epenet
6f93ffb7ee
Add sensor setup type hints [t-v] (#63309)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:20:39 +01:00
epenet
18056f3a8a
Add init type hints [t-u] (#63194)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-01 22:06:11 -08:00
Marc Mueller
eab235173b
Use assignment expressions 28 (#58189) 2021-10-22 14:06:04 +02:00
Erik Montnemery
94a264afaf
Move temperature conversions to entity base class (7/8) (#54482) 2021-08-11 18:57:50 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Erik Montnemery
783b453bbe
Migrate integrations t-v to extend SensorEntity (#48216) 2021-03-22 19:47:44 +01:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() (#47760) 2021-03-11 20:16:26 +01:00
springstan
000d2047fb
Add and use currency constants (#40113) 2020-09-15 15:01:01 -06:00
J. Nick Koston
d9c9adbc91
Update tankerkoenig to use CoordinatorEntity (#39440) 2020-08-30 18:27:06 +02:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements (#39320)
* Remove unnecessary exception re-wraps

* Preserve exception chains on re-raise

We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.

The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.

Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.

* Fix mistaken re-wrap in homematicip_cloud/hap.py

Missed the difference between HmipConnectionError and
HmipcConnectionError.

* Do not hide original error on plex new cert validation error

Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00