Franck Nijhof
1bf58b37e9
Add diagnostics support to Sensor.Community ( #64636 )
2022-01-23 09:02:02 +01:00
Franck Nijhof
4fe62a251d
Rename Luftdaten -> Sensor.Community ( #62865 )
2021-12-28 21:40:00 +01:00
Franck Nijhof
6ef7539a31
Add base integration tests to Luftdaten ( #62594 )
2021-12-23 07:25:26 +01:00
Franck Nijhof
4805b67300
Add strict typing to Luftdaten ( #62588 )
2021-12-22 12:20:35 +01:00
Franck Nijhof
82013e68fb
Implement DataUpdateCoordinator in luftdaten ( #62313 )
...
* Implement DataUpdateCoordinator in luftdaten
* Typing additions/fixes
* Update homeassistant/components/luftdaten/sensor.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-21 22:51:47 +01:00
Franck Nijhof
7fe895e554
Add unique ID to config entry in Luftdaten ( #62176 )
2021-12-19 12:42:52 +01:00
Franck Nijhof
4de4cc7bd4
Small cleanup of Luftdaten constants ( #61757 )
2021-12-16 21:25:24 +01:00
Franck Nijhof
de45144750
Remove deprecated YAML configuration from Luftdaten ( #61748 )
2021-12-14 09:21:12 +01:00
Franck Nijhof
4a1f49852a
Use SensorDeviceClass enum in Luftdaten ( #61746 )
2021-12-13 20:39:19 -08:00
Marc Mueller
40b99135e5
Use platform enum (3) [H-L] ( #60937 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-05 17:10:07 -10:00
Franck Nijhof
b2ee62ba8d
Upgrade luftdaten to 0.7.1 ( #60970 )
2021-12-04 00:16:00 -08:00
Giel van Schijndel
04a258bf21
fix(luftdaten): air pressure is reported in pascal instead of hecto pascal ( #59687 )
2021-11-15 09:51:57 +01:00
Marc Mueller
3c0a34dd01
Use EntityDescription - luftdaten ( #55676 )
...
* Use EntityDescription - luftdaten
* Fix name attribute
* Remove default values
* Move SensorTypes back to __init__
2021-09-03 22:34:01 +02:00
Erik Montnemery
d1f3c20079
Set device_class on temperature sensors L-Q ( #52919 )
2021-07-12 20:41:45 +02:00
Franck Nijhof
3f463f22a1
Deprecate Luftdaten YAML configuration ( #50365 )
2021-05-09 14:27:56 -04:00
hubbergit
4d9d565ecc
Fix unit of measurement from Pa to hPa ( #49664 )
...
The unit of measurement should be hPa instead of Pa for the air pressure.
2021-05-09 10:07:51 +02:00
J. Nick Koston
b10534359b
Reduce config entry setup/unload boilerplate K-M ( #49775 )
2021-04-27 18:49:13 +02:00
FlavorFx
f22f568169
Fix Luftdaten.info data retrieval ( #43471 )
...
Fix Luftdaten.info data retrieval
2020-11-21 11:52:34 +01:00
springstan
e330468a13
Use pressure constants in code base ( #40262 )
2020-09-19 09:26:08 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +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
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
Ville Skyttä
496bd3dddf
Add and use more unit constants ( #32122 )
...
* Add and use speed constants
* Add and use meter based volume and area constants
* Add and use more mass unit constants
* Add and use concentration unit constants
* Add and use watts per square meter constant
* Use more time constants
* Use more data constants
2020-02-24 17:52:14 -08:00
Leon Knauer
58973d5265
Fix luftdaten broken icon for "Pressure at sealevel" ( #31053 )
2020-01-22 01:34:19 +01:00
Lars-P
4031596aa7
Fix luftdaten integration by adding a sensor for pressure at sealevel ( #30317 )
2019-12-31 15:58:54 +01:00
Quentame
5ce437dc30
Fixing config_entries.async_forward_entry_unload calls (step 1) ( #27857 )
2019-10-20 12:15:46 +02:00
Quentame
8c0deeb176
Move imports in luftdaten component ( #27929 )
2019-10-19 18:22:32 +02:00
Franck Nijhof
7203027cbf
Use literal string interpolation in integrations K-M (f-strings) ( #26389 )
2019-09-03 21:14:00 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Fabian Affolter
161c368c9d
Update file header ( #21054 )
...
* Update file header
* Update __init__.py
2019-02-13 20:35:12 -08: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