Commit Graph

340 Commits (69708db8e0849eb7c0a51b8f93e03faf34051957)

Author SHA1 Message Date
J. Nick Koston 2e60e09ba2
Ensure config entry setup lock is held when removing a config entry (#117086) 2024-05-11 09:47:26 +09:00
Joost Lekkerkerker 6bb4e7d62c
Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller 2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Paulus Schoutsen f416d67d21
Remove built-in support for import_executor in manifest (#112725) 2024-03-08 12:02:32 -05:00
Marc Mueller ff3a801936
Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
Erik Montnemery 6fe28d3764
Migrate integrations a-d to generic flowhandler (#111861) 2024-02-29 20:07:14 +01:00
J. Nick Koston 55e3eb6160
Import airvisual in the executor to avoid blocking the event loop (#111624)
`Component airvisual import took 0.566 seconds (loaded_executor=False)`
2024-02-27 08:35:46 -05:00
Joost Lekkerkerker 6e5d14737e
Add icons translations for airvisual (#111318)
* Add icons translations for airvisual

* Add icon translations to airvisual
2024-02-25 08:27:29 +01:00
J. Nick Koston 1e7cd7c0c6
Update airvisual to set ConfigEntry version with async_update_entry (#110204)
* Update airvisual to set ConfigEntry version with async_update_entry

* Update airvisual to set ConfigEntry version with async_update_entry
2024-02-10 19:57:53 +01:00
Joost Lekkerkerker ac53b78a0c
Deduplicate constants A-D (#105638) 2023-12-13 14:21:44 +01:00
Marc Mueller 9fe2c08913
Update astroid to 2.15.8 (#101007) 2023-09-27 20:14:56 +02:00
Joost Lekkerkerker c7e4604cfd
Call async added to hass super in Airvisual (#100449) 2023-09-26 20:03:44 +02:00
Marc Mueller 37288d7788
Add pylint plugin to check for calls to base implementation (#100432) 2023-09-18 13:39:36 -05:00
Aaron Bach aff369d64c
Bump `pyairvisual` to 2023.08.1 (#97999) 2023-08-07 16:23:27 -06:00
Marc Mueller ddb384c2ed
Fix airvisual RuntimeWarning (#97739) 2023-08-04 01:23:12 +02:00
Paulus Schoutsen 7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Paulus Schoutsen 149ac4f99e
Capitalize a bunch of translations (#95421) 2023-06-28 11:08:53 +02:00
Erik Montnemery 3467f4674e
Remove unnecessary calls to `async_update_entry` from `async_migrate_entry` (#90575) 2023-03-31 15:53:35 +02:00
Erik Montnemery 231aad7a68
Sort manifests 1 (#87022) 2023-02-08 20:29:44 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
GitHub Action f475446ebf [ci skip] Translation update 2023-02-06 00:23:07 +00:00
GitHub Action 3f992ed31d [ci skip] Translation update 2023-02-04 00:23:44 +00:00
GitHub Action ce79b26ab6 [ci skip] Translation update 2023-02-03 00:25:31 +00:00
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
Erik Montnemery f17a829bd8
Only wait for import flows to initialize at setup (#86106)
* Only wait for import flows to initialize at setup

* Update hassio tests

* Update hassio tests

* Apply suggestions from code review

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-18 10:44:18 +01: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
Aaron Bach 6e9d3bf8e9
Renovate Airvisual tests (#84892)
* Renovate AirVisual tests

* Cleanup

* Package scope

* Update tests/components/airvisual/test_config_flow.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-04 13:05:37 -07:00
GitHub Action 5169721916 [ci skip] Translation update 2023-01-04 00:22:58 +00:00
Aaron Bach 34dc47ad10
Ensure AirVisual Pro migration includes device and entity customizations (#84798)
* Ensure AirVisual Pro migration includes device and entity customizations

* Update homeassistant/components/airvisual/__init__.py

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

* Code review

* Fix tests

* Fix tests FOR REAL

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-12-30 14:47:41 -07:00
Aaron Bach c0da80b567
Don't attempt setup on migrated AirVisual Pro in the `airvisual` domain (#84796)
fixes undefined
2022-12-29 23:57:50 +01:00
GitHub Action b3ab0a0199 [ci skip] Translation update 2022-12-29 00:23:20 +00:00
Aaron Bach 03ca50f292
Remove additional `airvisual_pro` references in `airvisual` (#84724) 2022-12-28 22:05:02 +01:00
Aaron Bach 5e2753d2fc
Remove incorrect unit for AirVisual AQI sensor (#84723)
fixes undefined
2022-12-28 22:03:49 +01:00
GitHub Action 31a3f1100a [ci skip] Translation update 2022-12-24 00:19:43 +00:00
GitHub Action 98f84c7c17 [ci skip] Translation update 2022-12-22 00:23:15 +00:00
GitHub Action e0bb26e964 [ci skip] Translation update 2022-12-21 00:21:15 +00:00
epenet d89ba40010
Use UnitOfTemperature in integrations (a-d) (#84304) 2022-12-20 17:59:20 +01:00
GitHub Action 7f8c4293b4 [ci skip] Translation update 2022-12-20 00:23:39 +00:00
Aaron Bach 0ccac69ce1
Remove `airvisual_pro` code from `airvisual` (#84254) 2022-12-19 12:32:33 -07:00
Aaron Bach 09ae02fd56
Migrate AirVisual Pro devices to the `airvisual_pro` domain (#83882)
* Migration AirVisual Pro devices to the `airvisual_pro` domain

* Fix tests

* Remove airvisual_pro dependency

* Add repairs item

* Only fire repairs issue if automations exist

* Fix tests
2022-12-19 10:48:36 -07:00
Aaron Bach d375361072
Bump `pyairvisual` to 2022.12.1 (#84013)
Bump pyairvisual to 2022.12.1
2022-12-14 16:00:44 -07:00
Aaron Bach 9aaeefeb8e
Ensure AirVisual Pro uses long-running Samba connection (#83869) 2022-12-13 23:31:13 -07:00
Aaron Bach 3d4ee5906d
Add integration for AirVisual Pro (#79770)
* Add integration for AirVisual Pro

* Tests

* A few more redactions

* Loggers

* Consistency

* Remove unnecessary f-string

* Use `entry.as_dict()` in diagnostics

* One call

* Integration types

* Cleanup

* Import cleanup

* Code review

* Code review

* Code review
2022-12-12 14:28:27 -07:00
GitHub Action f19a1147fe [ci skip] Translation update 2022-12-11 00:26:24 +00:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action 3de8185506 [ci skip] Translation update 2022-12-08 00:21:50 +00:00
GitHub Action 1f3e5fb4fc [ci skip] Translation update 2022-12-07 00:24:08 +00:00
GitHub Action 3ab9a14ce7 [ci skip] Translation update 2022-12-06 00:21:31 +00:00
Franck Nijhof 150e49f4c2
Use enum sensor device class in AirVisual (#83316) 2022-12-05 17:24:47 +01:00