Commit Graph

17 Commits (a9af29cbe001277f19cbdc7e89e60ce0482c7da5)

Author SHA1 Message Date
Franck Nijhof 4fe62a251d
Rename Luftdaten -> Sensor.Community (#62865) 2021-12-28 21:40:00 +01:00
Franck Nijhof 496165711d
Improve config flow Luftdaten (#62589)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-22 13:00:51 +01:00
Franck Nijhof 4805b67300
Add strict typing to Luftdaten (#62588) 2021-12-22 12:20:35 +01:00
Franck Nijhof 7fe895e554
Add unique ID to config entry in Luftdaten (#62176) 2021-12-19 12:42:52 +01:00
Franck Nijhof de45144750
Remove deprecated YAML configuration from Luftdaten (#61748) 2021-12-14 09:21:12 +01:00
Franck Nijhof b2ee62ba8d
Upgrade luftdaten to 0.7.1 (#60970) 2021-12-04 00:16:00 -08:00
Daniel Hjelseth Høyer fbad453c89
Pylint 2.9.3 (#52972)
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 (#49891) 2021-04-30 21:02:53 -10:00
Franck Nijhof e1a3ef3d69
Clean up config entry handlers decorator from config flows (#49932) 2021-04-30 23:28:25 +02:00
Paulus Schoutsen a90d3a051f
prefer total_seconds over seconds (#49505) 2021-04-20 17:41:36 -07:00
springstan cbf6086c30
Use common strings in luftdaten config flow (#42376) 2020-10-25 23:40:12 +01:00
Franck Nijhof 7d3c974747
Use set & dict literals (#33636)
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 (#27929) 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. (#20643)
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 #19591. 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 (#20226)
* 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 #18838, and also fixes the root cause
of #19981 and #19622.

* Use pure type for boolean.
2019-01-30 17:12:59 -08:00
Fabian Affolter 2e517ab6bc
Enable config flow for Luftdaten (#17700)
* 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