Commit Graph

187 Commits (615a1eda51149f25fb6ce2f7dfbbfd24a9ccb517)

Author SHA1 Message Date
Maciej Bieniek 805f634634
Bump `nettigo_air_monitor` to version 3.1.0 ()
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-27 12:54:10 +02:00
Maciej Bieniek fe65ef72a7
Add missing string `reconfigure_successful` for NAM reconfigure flow ()
Add missing string reconfigure_successful

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-18 11:24:39 +02:00
Marc Mueller 44049c34f9
Use PEP 695 type alias for ConfigEntry types () 2024-05-17 15:42:58 +02:00
Maciej Bieniek 0d09226661
Support reconfigure flow in Nettigo Air Monitor integration ()
* Add reconfigure flow

* Fix input

* Add tests

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-13 19:17:14 +02:00
Sid 2cc916db6d
Replace pylint broad-except with Ruff BLE001 () 2024-05-07 14:00:27 +02:00
Maciej Bieniek 7e11fec761
Migrate properties to instance variables in NAM coordinator ()
* Migrate properties to instance variables

* Fix unique_id type

* Update homeassistant/components/nam/__init__.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-05-05 13:04:01 +02:00
Maciej Bieniek 1eed5442e2
Bump `nettigo-air-monitor` to version 3.0.1 ()
Bump nettigo-air-monitor to version 3.0.1

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-03 14:36:42 +02:00
Maciej Bieniek 309b3451b6
Move NAM Data Update Coordinator to the coordinator module ()
Move Data Update Coordinator to the coordinator module

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-03 13:13:56 +02:00
Maciej Bieniek ffd6635c14
Bump `nettigo_air_monitor` to version 3.0.0 ()
Bump nettigo_air_monitor to version 3.0.0

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-04-19 20:25:57 +02:00
Sid 0d66d298ec
Enable Ruff RET504 ()
* Enable Ruff RET504

* fix test

* Use noqa instead of cast

* fix sonos RET504

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Joost Lekkerkerker e6a692f354
Improve lists in integrations [N-O] () 2024-03-13 21:51:38 +01:00
Joost Lekkerkerker c8c00a86a6
Remove entity description mixin in Nettigo Air Monitor () 2024-03-10 21:44:41 +01:00
Marc Mueller 988c71ecc5
Add empty line after module docstring [n-q] () 2024-03-08 15:04:07 +01:00
Erik Montnemery e0c1feb22c
Migrate integrations n-r to generic flowhandler () 2024-02-29 20:09:01 +01:00
Maciej Bieniek 57bec29266
Add icon translations to NAM ()
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-09 23:28:24 +01:00
Marc Mueller a9147cf3dd
Use builtin TimeoutError [k-n] () 2024-02-05 12:08:18 +01:00
Jan-Philipp Benecke 95aea1488d
Add pylint plugin to check if coordinator is placed in its own module ()
* Add pylint plugin to check if coordinator is placed in its own module

* Remove unintended changes

* Remove pylint disable and let CI only fail on W,E,F

* Make check conventional

* Apply review suggestion

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use option instead

* Remove pylint arguments from pre-commit

* Partially revert "Remove pylint disable and let CI only fail on W,E,F"

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-01-29 10:30:19 +01:00
Erik Montnemery 0c2485bc03
Freeze integration entity descriptions ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Maciej Bieniek 8c56b5ef82
Add a host field description for Bravia, Brother and NAM () 2023-11-29 09:35:38 +01:00
Maciej Bieniek 670e5a2eae
Bump `nettigo-air-monitor` to version 2.2.2 ()
Bump nettigo-air-monitor to version 2.2.2
2023-11-26 22:05:50 +01:00
Joost Lekkerkerker 054089291f
Bump nettigo-air-monitor to 2.2.1 () 2023-11-06 21:03:48 +01:00
Maciej Bieniek 4febb2e1d3
Bump `nam` to version 2.2.0 () 2023-10-24 21:14:17 +02:00
Marc Mueller 71d985e4d6
Use asyncio.timeout [i-n] () 2023-08-15 14:32:15 +02:00
Erik Montnemery 045c327928
Move DeviceInfo from entity to device registry ()
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Joost Lekkerkerker 4ff158a105
Remove NAM translations handled by device class ()
Remove translations handled by device class
2023-07-02 21:32:32 -04:00
Franck Nijhof ce16d8eeac
Rename Particulate matter sensors to PM () 2023-04-14 09:43:15 +02:00
Maciej Bieniek 34041c7564
Add entity name translations to NAM () 2023-04-03 12:37:01 +02:00
epenet f69d76702a
Adjust entity registry access in integrations (2) () 2023-03-01 08:02:51 +01:00
Maciej Bieniek a54e523731
Bump `nettigo-air-monitor` to version 2.1.0 ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-21 17:41:46 -06:00
Erik Montnemery cc564026fa
Move EntityCategory to homeassistant.const ()
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Erik Montnemery 1d64ba9d34
Sort manifests 6 () 2023-02-08 20:38:43 +01:00
Maciej Bieniek 6a3619d9fa
Refactor NAM sensor platform ()
* Bump backend library

* Remove AQI_LEVEL_STATE_MAPPING

* Add native_precission

* Update diagnostics fixture

* Use _attr_native_value

* Fix type

* Improve lambda

* Revert native_value property

* native_precision -> suggested_display_precision
2023-02-07 09:14:20 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core ()
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof 5e81d28116
Update black to 23.1.0 () 2023-02-02 18:35:24 +01:00
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
Marc Mueller d26484d482
Remove unnecessary try-else (4) () 2023-01-18 13:17:08 +01:00
GitHub Action d2e11797f8 [ci skip] Translation update 2023-01-17 00:24:30 +00:00
GitHub Action b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
GitHub Action 77f9548e51 [ci skip] Translation update 2023-01-15 00:25:52 +00:00
GitHub Action dffc913f9e [ci skip] Translation update 2023-01-14 00:22:57 +00:00
epenet 1766df3faa
Improve integration type hints for diagnostics () 2023-01-09 15:17:48 +01:00
GitHub Action 6ce88cd5af [ci skip] Translation update 2023-01-09 00:23:57 +00:00
GitHub Action 0b163aac7d [ci skip] Translation update 2023-01-08 00:26:22 +00:00
GitHub Action 2976f843b5 [ci skip] Translation update 2023-01-07 00:22:33 +00:00
GitHub Action bdd87bcc87 [ci skip] Translation update 2023-01-06 00:23:50 +00:00
Franck Nijhof f4a71ea83f
Fix translation keys for NAM sensors ()
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
2023-01-05 23:17:29 +01:00
Marc Mueller 06db5476e4
Improve DataUpdateCoordinator typing in integrations (2) () 2022-12-27 22:47:04 +01:00
epenet d60fe7e7cd
Use UnitOfTemperature in integrations (n-o) () 2022-12-20 18:39:09 +01:00
epenet f988a1164d
Use UnitOfPressure in integrations () 2022-12-19 21:41:46 +01:00
Maciej Bieniek 20f0abacc0
Bump `nettigo air monitor` library to version 1.6.0 () 2022-12-19 10:15:31 +00:00