Commit Graph

250 Commits (7b20641651612e2b30bb2139bf5340558b9b94fc)

Author SHA1 Message Date
Sid d5fd005db8
Add ruff rule PIE808 (#113621) 2024-03-17 09:56:26 +01:00
Sid 69564b1a17
Add ruff rule PIE800 (#113619)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-16 16:31:30 -10:00
Maciej Bieniek 3d9a9c3847
Use `single_config_entry` in Accuweather manifest (#111548)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-03-13 17:38:37 +01:00
Marc Mueller ff3a801936
Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
Joost Lekkerkerker 0b113b6b71
Remove entity description mixin in Accuweather (#112375) 2024-03-05 16:20:29 +01:00
Erik Montnemery 6fe28d3764
Migrate integrations a-d to generic flowhandler (#111861) 2024-02-29 20:07:14 +01:00
Marc Mueller c82933175d
Use builtin TimeoutError [a-d] (#109678) 2024-02-05 11:31:33 +01:00
Jan-Philipp Benecke 95aea1488d
Add pylint plugin to check if coordinator is placed in its own module (#108174)
* 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 (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Maciej Bieniek b3ff30a9c8
Bump `accuweather` to version 2.1.1 (#104563) 2023-11-27 09:49:46 +01:00
Maciej Bieniek 531a3e4fa8
Bump accuweather to version 2.1.0 (#103744) 2023-11-10 21:46:15 +01:00
Maciej Bieniek e08d2408c9
Bump accuweather to version 2.0.1 (#103532) 2023-11-06 21:02:02 +01:00
Maciej Bieniek 5ee14f7f7d
Bump `accuweather` to version 2.0.0 (#102670) 2023-10-24 23:14:05 +02:00
Erik Montnemery 27f7399071
Modernize accuweather weather (#99001) 2023-08-25 16:46:23 +02:00
Erik Montnemery b1053e8077
Map accuweather weather condition codes once (#98509)
Map accuweather condition codes once
2023-08-16 20:20:47 +02: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 66e3d69606
Remove confusing comment from accuweather (#98063) 2023-08-08 22:02:45 +02:00
Maciej Bieniek 12426dfad4
Add entity translations for AccuWeather (#95940)
* Add entity name translations

* Some improvements

* Update tests

* Suggested changes

* day 0 -> today

* night 0 -> tonight

* Fix precipitation
2023-07-29 21:22:53 +02:00
Meow 024d646526
Aligned integration manifest files (#97175) 2023-07-25 08:33:56 +02:00
Franck Nijhof 5e88ca23b3
Remove the use of StateType from AccuWeather (#97109) 2023-07-23 23:30:37 +02:00
Maciej Bieniek 5249660a6a
Add `uv_index` to AccuWeather weather entity (#97015) 2023-07-22 17:11:39 +02:00
Maciej Bieniek fe9366eee6
Add new properties to the weather entity in Accuweather integration (#95110)
* Add new properties to the current conditions

* Add new properties to forecast

* Use existing constants

* Update tests
2023-06-24 12:38:20 +02:00
Maciej Bieniek 546139e491
Return `None` as Accuweather weather entity name (#94803) 2023-06-19 12:04:25 +02:00
Maciej Bieniek 71466e5012
Add new sensors to AccuWeather (#93362)
* Add solar irradiance and condition sensors

* Use entity_registry_enabled_by_default fixture
2023-05-22 21:55:54 +02:00
Maciej Bieniek d47e58fb38
Bump `accuweather` to version 1.0.0 (#93305) 2023-05-21 14:50:10 +02:00
Maciej Bieniek 685016052b
Bump `accuweather` to version 0.5.2 (#93130) 2023-05-16 11:38:17 -05:00
Maciej Bieniek ee23d79a00
Add air quality sensors to Accuweather integration (#91516) 2023-04-22 17:19:21 +02:00
Maciej Bieniek 9d68cdca18
Remove `ozone` state attribute and `ozone` sensors from Accuweather (#91492) 2023-04-16 14:01:22 +02:00
Maciej Bieniek 808830b90e
Bump accuweather to version 0.5.1 (#91412)
Bump accuweather
2023-04-14 08:31:33 -04:00
Maciej Bieniek 8d21e2b168
Use metric units internally in Accuweather integration (#90444)
* Use metric units internally

* Remove unnecessary code

* Simplify sensor classes

* Remove AccuWeatherForecastSensor class

* Update wind speed value in test

* Return suggested_unit_of_measurement for wind entities

* Clean test

* Use _attr_suggested_unit_of_measurement

* Remove _get_suggested_unit()

* Remove unnecessarey code
2023-03-30 13:11:33 +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
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
Maciej Bieniek cc36848a6d
Use `native_precision` instead of `round` in Accuweather (#86869) 2023-01-30 12:36:24 +01:00
Maciej Bieniek d485630ce9
Use device class ENUM for Accuweather pressure tendency sensor (#86887)
* Use device class ENUM for pressure tendency sensor

* Format
2023-01-30 12:03:23 +01:00
Maciej Bieniek 58bfeb3110
Fix `state_class` for Accuweather `precipitation` sensor (#86088) 2023-01-20 23:36:25 +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
epenet 1766df3faa
Improve integration type hints for diagnostics (#85526) 2023-01-09 15:17:48 +01:00
Maciej Bieniek 0fbb334ad9
Bump accuweather package to 0.5.0 (#85326)
Bump accuweather
2023-01-07 13:37:29 +01:00
epenet 68857dc272
Use UnitOfTime in integrations (a-g) (#84288) 2022-12-20 13:22:20 +01: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
epenet 72fd57a685
Use new device class in accuweather (#83318) 2022-12-06 11:54:59 +01:00
GitHub Action 5f9290e572 [ci skip] Translation update 2022-12-05 00:23:07 +00:00
GitHub Action a1eab7f842 [ci skip] Translation update 2022-12-04 00:23:06 +00:00
GitHub Action 03154e1d83 [ci skip] Translation update 2022-12-03 00:21:50 +00:00