epenet
2c7d0b8909
Initialise coordinator with config_entry in components (part 1) ( #128080 )
2024-10-29 16:18:04 +01:00
epenet
52ef358e1c
Move airvisual base entity to separate module ( #126474 )
2024-09-23 08:38:24 +02:00
epenet
7f4fc4d371
Migrate airvisual to use runtime_data ( #125532 )
...
* Migrate airvisual to use runtime_data
* Remove usedefault
* Adjust
2024-09-08 21:39:05 +02:00
Michael
844ccf461f
Remove unnecessary config schema definitions ( #123197 )
2024-08-05 17:44:14 +02:00
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
ff3a801936
Add empty line after module docstring [a-d] ( #112697 )
2024-03-08 14:51:32 +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
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
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
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
Aaron Bach
03ca50f292
Remove additional airvisual_pro
references in airvisual
( #84724 )
2022-12-28 22:05:02 +01: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
5884f50a82
Bump pyairvisual to 2022.11.1 ( #81556 )
2022-11-05 12:58:47 -05:00
Aaron Bach
08d6487997
Handle (and better log) more AirVisual cloud API errors ( #75332 )
2022-07-16 14:04:44 -06:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards ( #73806 )
2022-07-09 17:27:42 +02:00
Aaron Bach
ee215fb589
Streamline hass.data
storage for AirVisual ( #64476 )
2022-01-19 14:32:23 -07:00
Marc Mueller
4e2cd1bec0
Update typing (2) [a-i] ( #63923 )
2022-01-11 21:23:26 +01:00
Franck Nijhof
eb5a321a9f
Mark removed config schemas as removed ( #61014 )
2021-12-21 12:46:10 +01:00
Marc Mueller
f57d42a9e8
Use platform enum (1) [A-D] ( #60908 )
...
* Use platform enum (1) [A-D]
* Fix imports
* Fix tests
* Use Platform even in tests
2021-12-03 08:51:30 -08:00
jugla
512bdac724
Air visual : robustness at startup when evaluate time interval ( #59544 )
2021-11-13 08:44:18 -07:00
Aaron Bach
39054d656b
Perform some AirVisual code cleanup ( #58858 )
2021-11-01 09:03:37 +01:00
Aaron Bach
3da3d26573
Make sure AirVisual data storage conforms to standards ( #57806 )
2021-10-16 23:58:39 -06:00
Aaron Bach
b72f1553ea
Use current config entry standards for AirVisual ( #57132 )
2021-10-11 09:17:43 -06:00
Aaron Bach
4104a3dee6
Use built-in logic for options handler in AirVisual ( #57131 )
2021-10-08 14:20:57 -05:00
Aaron Bach
c9e8d42405
Use EntityDescription - airvisual ( #55125 )
2021-08-25 10:51:02 +02:00
Aaron Bach
e04b2c2e35
Bump pyairvisual to 5.0.9 ( #53578 )
2021-07-27 21:39:58 +02:00
Franck Nijhof
d4c4263730
Adjust typing of _attr_extra_state_attributes ( #53529 )
2021-07-27 01:25:22 +02:00
Aaron Bach
8d9345c407
Add missing type annotations to Airvisual ( #52615 )
2021-07-21 22:18:08 +02:00
Aaron Bach
5ce4de7bbb
Migrate AirVisual air_quality
platform to sensor
platform ( #52349 )
...
* Migrate AirVisual air_quality platform sensors
* Remove redundancy
* Cleanup
* Properly set available
* Unwind config_entry -> entry name change
* More unwinding
* Rename
* Update homeassistant/components/airvisual/sensor.py
Co-authored-by: Franck Nijhof <git@frenck.dev>
* Code review
* Linting
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-04 12:16:06 -06:00
Franck Nijhof
4007430d72
Small entity attribute cleanup in AirVisual ( #51601 )
...
* Small entity attribute cleanup in AirVisual
* Fix icon in sensor update
2021-06-08 08:29:04 +02:00
J. Nick Koston
51be2f860a
Reduce boilerplate to setup config entry platforms A-C ( #49681 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-26 07:46:55 -10:00
J. Nick Koston
4cd7f9bd8b
Raise ConfigEntryAuthFailed during setup or coordinator update to start reauth ( #48962 )
2021-04-09 19:41:29 -10:00
jugla
76d9c62900
Evaluate AirVisual interval on reboot ( #48392 )
...
* Reevaluate interval on reboot (and periodically)
* AirVisual update interval periodically
* AirVisual : update periodically interval request
* AirVisual : update sever request interval periodically
* AirVisual : periodically update interval for server requests
* AirVisual : periodic update for server interval
* Airvisual : periodic update of server interval
* AirVisual : periodic update of server interval
* AirVisual : periodic update of interval request
* Periodic interval update of server request
* AirVisual : periodic update of interval request
* Reassess interval request on periodic event
* ReAssess interval between 2 requests during update
* ReAssess interval between 2 requests periodically
* Reassess interval of server requests periodically
* Reassess the interval between 2 server requests
* Reassess interval between 2 server requests
* Reassess server requests interval periodically
* Assess interval request after inserting instance
2021-03-30 11:03:35 -06:00
J. Nick Koston
a851bff95a
Create async_config_entry_first_refresh to reduce coordinator boilerplate ( #48451 )
2021-03-29 12:51:39 -10:00
jugla
4d61f6f8c2
Reduce number of iqair request ( #47890 )
2021-03-14 09:04:08 -06:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +01:00
Aaron Bach
fa8ded5ad8
Fix AirVisual exception when config entry contains old integration type ( #47405 )
2021-03-04 13:20:08 -08:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
Aaron Bach
3bdf962838
Add ability to configure AirVisual with city/state/country in UI ( #44116 )
2021-02-01 11:38:03 -10:00
Franck Nijhof
00d0c3f98b
Remove invalidation version from Airvisual ( #43810 )
2020-12-01 17:13:15 +01:00
Aaron Bach
3707b72a37
Deprecate YAML config for AirVisual (0.119 removal) ( #42581 )
2020-11-09 13:41:04 +01:00
Aaron Bach
f78e75e16f
Properly unload listener for AirVisual config entry updates ( #42583 )
2020-10-29 19:04:12 -05:00
Aaron Bach
099de37ee5
Fix re-authentication in AirVisual ( #41801 )
2020-10-15 09:30:39 +02:00