Commit graph

60 commits

Author SHA1 Message Date
Joost Lekkerkerker
675048cc38
Bump aiowaqi to 3.1.0 (#119124) 2024-06-08 11:28:45 +02:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
Joost Lekkerkerker
f92fb0f492
Remove deprecated WAQI state attributes (#116595) 2024-05-06 19:12:45 +02:00
Sid
a5b609f081
Enable ruff TRY401 (#114395)
* Enable ruff TRY401

* fix tests
2024-03-29 07:20:36 +01:00
Joost Lekkerkerker
0e7e1cb34f
Remove obsolete issue strings in WAQI (#113884) 2024-03-20 16:17:12 +01:00
Joost Lekkerkerker
3b0b729557
Remove YAML configuration from WAQI (#113027) 2024-03-11 11:41:49 +01:00
Joost Lekkerkerker
7ea1f42b84
Remove entity description mixin in WAQI (#112970) 2024-03-10 19:48:41 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc Mueller
c773d57d39
Add empty line after module docstring [w-z] (#112706) 2024-03-08 10:35:45 -05:00
Erik Montnemery
9ec9ac4fd4
Migrate integrations u-z to generic flowhandler (#111866) 2024-02-29 20:08:16 +01:00
Marc Mueller
d8c79964c8
Enable strict typing for waqi (#107439) 2024-01-07 10:43:42 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Joost Lekkerkerker
dece6c8042
Bump aiowaqi to 3.0.1 (#104314) 2023-11-21 14:49:10 +01:00
Joost Lekkerkerker
6e5479d307
Bump aiowaqi to 3.0.0 (#103166) 2023-11-01 13:25:33 +01:00
Joost Lekkerkerker
8a7de27946
Try negative WAQI station number before aborting (#102550) 2023-10-23 11:55:12 +02:00
Joost Lekkerkerker
a97e34f28e
Add Nephelometry sensor to waqi (#102298) 2023-10-22 23:50:40 +02:00
Joost Lekkerkerker
1fd7378caf
Remove abstraction in WAQI config flow (#102543) 2023-10-22 20:31:17 +02:00
Joost Lekkerkerker
9857c0fa3a
Move WAQI state attributes to separate sensors (#101217)
* Migrate WAQI to has entity name

* Split WAQI extra state attributes into separate sensors

* Split WAQI extra state attributes into separate sensors

* Fix test

* Support new aiowaqi

* Bump aiowaqi to 2.1.0

* Add nephelometry as possible value

* Fix test
2023-10-19 12:30:40 +02:00
Joost Lekkerkerker
42f830600c
Bump aiowaqi to 2.1.0 (#102209) 2023-10-18 13:24:57 +02:00
Joost Lekkerkerker
4ee6f6c766
Bump aiowaqi to 2.0.0 (#101259) 2023-10-02 13:49:22 +02:00
Joost Lekkerkerker
4c24ff6847
Migrate WAQI to has entity name (#101203) 2023-10-01 23:47:32 +02:00
Joost Lekkerkerker
1b05418647
Bump aiowaqi to 1.1.1 (#101129) 2023-09-29 20:57:53 +02:00
Joost Lekkerkerker
339b95c79f
Migrate WAQI unique id (#101112)
* Migrate unique_id

* Add docstring
2023-09-29 19:30:35 +02:00
Joost Lekkerkerker
3b381f10d3
Bump aiowaqi to 1.1.0 (#99751)
* Bump aiowaqi to 1.1.0

* Fix hassfest

* Fix tests
2023-09-28 18:52:23 +02:00
Joost Lekkerkerker
d1f1bdebde
Add feature to add measuring station via number in waqi (#99992)
* Add feature to add measuring station via number

* Add feature to add measuring station via number

* Add feature to add measuring station via number
2023-09-28 10:55:48 +02:00
Joost Lekkerkerker
9be16d9d42
Add config flow to WAQI (#98220)
* Migrate WAQI to aiowaqi library

* Migrate WAQI to aiowaqi library

* Migrate WAQI to aiowaqi library

* Add config flow to WAQI

* Finish config flow

* Add tests

* Add tests

* Fix ruff

* Add issues on failing to import

* Add issues on failing to import

* Add issues on failing to import

* Add importing issue

* Finish coverage

* Remove url from translation string

* Fix feedback

* Fix feedback
2023-09-09 17:49:54 +02:00
Joost Lekkerkerker
82ade574d8
Migrate WAQI to aiowaqi library (#98000)
* Migrate WAQI to aiowaqi library

* Migrate WAQI to aiowaqi library

* Migrate WAQI to aiowaqi library
2023-08-10 20:18:57 +02:00
Joost Lekkerkerker
ecce601d3f
Fix WAQI being zero (#97767) 2023-08-04 12:46:23 +02:00
Joost Lekkerkerker
1587ac2137
Waqi State unknown if value is string (#97617) 2023-08-04 08:45:36 +02:00
Paulus Schoutsen
d3fca972a5
Bump waqiasync to 1.1.0 (#94136) 2023-06-06 20:55:25 -04:00
Erik Montnemery
6c2702a7b8
Sort manifests 11 (#87032) 2023-02-08 20:10:18 +01:00
Yuval Aboulafia
1f6efe8c3e
Remove WAQI unsupported UOM (#85768)
fixes undefined
2023-01-12 20:10:45 +01:00
epenet
a6b6949793
Improve entity type hints [w] (#77886) 2022-09-06 13:59:37 +02:00
Franck Nijhof
fa09cf663e
Update black to 22.1.0 (#65788) 2022-02-05 14:19:37 +01:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
epenet
f2a6118435
Fix waqi config parsing (#63897)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 15:05:07 +01:00
epenet
ef02f2005a
Add setup type hints [v-w] (#63484)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 18:23:43 +01:00
Robert Hillis
9d66dd35cc
Use enums in waqi (#61998) 2021-12-16 09:21:58 +01:00
David Le Brun
4f25b2ca08
Support device and state classes for WAQI sensor (#57762) 2021-10-18 18:45:26 +02:00
Erik Montnemery
ae507aeed1
Move temperature conversions to sensor base class (8/8) (#54483)
* Move temperature conversions to entity base class (8/8)

* Fix wallbox sensor

* Fix tests
2021-08-11 21:17:16 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Marc Mueller
8e2b5b36b5
Bump pyupgrade to 2.12.0 (#48943) 2021-04-09 09:58:27 -07:00
Erik Montnemery
0c086b5067
Migrate integrations w-z to extend SensorEntity (#48217) 2021-03-22 19:50:29 +01:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() (#47760) 2021-03-11 20:16:26 +01: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
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop (#37527) 2020-07-05 23:04:19 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields (#33595) 2020-04-03 12:58:19 -07:00
Franck Nijhof
b4d6d238e5 Correct names in manifests (T-Z) (#30546) 2020-01-07 14:31:18 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier (#30521) 2020-01-06 21:28:23 +01:00