234 Commits

Author SHA1 Message Date
Maciej Bieniek
3ce9d47d7d
Add exception translations for Airly integration (#140864)
* Add exception translations

* Improve error strings
2025-03-18 21:27:36 +02:00
Erik Montnemery
f83c8de8d3
Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
Michael
a8de073076
Explicitly pass in the config_entry in airly coordinator init (#137698)
explicitly pass in the config_entry in airly coordinator init
2025-02-07 19:46:21 +01:00
epenet
3472e0e370
Standardize homeassistant imports in component (a-b) (#136821) 2025-01-29 11:37:48 +01:00
Joost Lekkerkerker
e6225e3dcc
Drop current quality scale (#131072) 2024-11-20 20:54:15 +01:00
Marc Mueller
44049c34f9
Use PEP 695 type alias for ConfigEntry types (#117632) 2024-05-17 15:42:58 +02:00
Maciej Bieniek
35d44ec90a
Store Airly runtime data in config entry (#117031)
* Store runtime data in config entry

* Fix tests

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-07 22:04:37 +02:00
Marc Mueller
8bc214b185
Improve airly generic coordinator typing (#116561) 2024-05-01 22:41:11 +02:00
Sid
0d66d298ec
Enable Ruff RET504 (#114528)
* 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
690ba103ed
Improve lists in integrations [A] (#113006)
* Use list comprehension [A]

* Use list comprehension [A]

* Update homeassistant/components/aws/notify.py
2024-03-11 16:17:44 +01: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
Joost Lekkerkerker
21009bef02
Add icon translations to Airly (#108404)
* Add icon translations to Airly

* Fix test

* Fix tests
2024-01-22 21:17:04 +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
Jan-Philipp Benecke
5d46e22591
Move airly coordinator to its own file (#99545) 2023-09-11 21:52:02 -05:00
J. Nick Koston
262483f3f6
Replace async_timeout with asyncio.timeout A-B (#98415) 2023-08-15 10:29:28 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device (#96479)
* Require keyword arguments to DeviceRegistry.async_get_device

* Update tests

* Update tests

* Don't enforce keyword arguments
2023-07-13 13:39:25 -04: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
Joost Lekkerkerker
e4a7c57b81
Use device class translations for Airly (#95115)
* Use device class translations for Airly

* Use device class translations for Airly

* Use device class translations for Airly
2023-06-24 13:13:36 +02:00
Maciej Bieniek
cacd6708f0
Use the default entity names in Airly (#90693) 2023-04-03 10:50:24 +02:00
Maciej Bieniek
d32fb7c22f
Add entity name translations to Airly (#90656)
Add entity name translations
2023-04-02 14:24:40 -04: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
Erik Montnemery
bcc1aa03b4
Move sensor rounding to frontend (#87330)
* Move sensor rounding to frontend

* Update integrations

* Add comment
2023-02-04 14:54:36 -05:00
GitHub Action
3f992ed31d [ci skip] Translation update 2023-02-04 00:23:44 +00:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
Maciej Bieniek
5f57648578
Use more human-readable sensor names in Airly (#86893)
* Use more human-readable sensor names

* Use abbreviations for long names
2023-01-30 08:29:06 -05:00
Maciej Bieniek
eebc338c3b
Support native_precision in Airly integration (#86843)
* Use native_precision

* Refactor extra_state_attributes
2023-01-29 11:44:23 +01:00
GitHub Action
71d7098530 [ci skip] Translation update 2023-01-27 00:25:12 +00: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
Maciej Bieniek
6baa905448
Abort config flow if Airly measuring station does not exist (#85652)
* Abort if there is no sensor in the area

* Add test

* Increase test coverage
2023-01-13 14:35:52 +01:00
Maciej Bieniek
cc016c9bba
Pass language to the Airly API (#85655)
* Pass language to the API

* Pass only pl or en

* Add comment
2023-01-12 16:15:00 +01:00
epenet
1766df3faa
Improve integration type hints for diagnostics (#85526) 2023-01-09 15:17:48 +01:00
GitHub Action
5169721916 [ci skip] Translation update 2023-01-04 00:22:58 +00:00
epenet
d89ba40010
Use UnitOfTemperature in integrations (a-d) (#84304) 2022-12-20 17:59:20 +01:00
epenet
f988a1164d
Use UnitOfPressure in integrations (#84230) 2022-12-19 21:41:46 +01:00
GitHub Action
0d1f476bee [ci skip] Translation update 2022-12-01 00:33:36 +00:00
GitHub Action
230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action
b65d8cc1b3 [ci skip] Translation update 2022-11-28 00:23:09 +00:00
GitHub Action
797dc51bc5 [ci skip] Translation update 2022-11-26 00:22:30 +00:00
GitHub Action
f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
GitHub Action
fe5246fb6f [ci skip] Translation update 2022-11-19 00:26:11 +00:00
Maciej Bieniek
b6b36861d9
Add integration_type field for a few integrations (#80767) 2022-10-22 14:38:08 +02:00
Maciej Bieniek
8ff12eacd4
Do not use AQI device class for CAQI sensor in Airly integration (#79402) 2022-10-01 16:33:11 +02:00
GitHub Action
39ddc37d76 [ci skip] Translation update 2022-09-26 00:30:11 +00:00
Kenneth J. Miller
3b653de3fd
Fix Airly CO sensor unit (#78649) 2022-09-19 15:35:13 +02:00