Commit Graph

6 Commits (e6400fc11bc71c12ac345a630bdc144cc332f8ac)

Author SHA1 Message Date
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