Commit graph

15 commits

Author SHA1 Message Date
Franck Nijhof
4805b67300
Add strict typing to Luftdaten () 2021-12-22 12:20:35 +01:00
Franck Nijhof
7fe895e554
Add unique ID to config entry in Luftdaten () 2021-12-19 12:42:52 +01:00
Franck Nijhof
de45144750
Remove deprecated YAML configuration from Luftdaten () 2021-12-14 09:21:12 +01:00
Franck Nijhof
b2ee62ba8d
Upgrade luftdaten to 0.7.1 () 2021-12-04 00:16:00 -08:00
Daniel Hjelseth Høyer
fbad453c89
Pylint 2.9.3 ()
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07:00
Franck Nijhof
10d6dfd4ae
Clean up connection classes in integrations H-L () 2021-04-30 21:02:53 -10:00
Franck Nijhof
e1a3ef3d69
Clean up config entry handlers decorator from config flows () 2021-04-30 23:28:25 +02:00
Paulus Schoutsen
a90d3a051f
prefer total_seconds over seconds () 2021-04-20 17:41:36 -07:00
springstan
cbf6086c30
Use common strings in luftdaten config flow () 2020-10-25 23:40:12 +01:00
Franck Nijhof
7d3c974747
Use set & dict literals ()
Co-authored-by: Daniel Høyer Iversen <mail@dahoiv.net>
2020-04-04 20:05:15 +02:00
Quentame
8c0deeb176 Move imports in luftdaten component () 2019-10-19 18:22:32 +02:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Jasper van der Neut - Stulen
8e4e6a50d8 Only create sensors if the station actually has values for them. ()
Because Luftdaten assigns separate ids for particle and weather
measurements, most if not all stations added with config flow will
have non-functional sensors, as mentioned in . This change
prevents the creation of sensors without data.
2019-04-17 10:27:59 -07:00
Jasper van der Neut - Stulen
5a0c707a37 Fix duplicate luftdaten entities ()
* Use same data schema for configflow, make sensor_id a positive integer.

* Change sensor_id to int and remove duplicate Luftdaten config entries.

This fixes , and also fixes the root cause
of  and .

* Use pure type for boolean.
2019-01-30 17:12:59 -08:00
Fabian Affolter
2e517ab6bc
Enable config flow for Luftdaten ()
* Move file to new location

* Update requirement

* Enable config flow

* Add luftdaten

* Add tests

* Update

* Add constants

* Changes according to the review comments

* Remove wrong entry from flows

* Fix dict handling

* Add callback and use OrderedDict

* Remve leftover

* Fix

* Remove await
2018-11-06 14:27:52 +01:00