Commit graph

144 commits

Author SHA1 Message Date
epenet
d6e73a89f3
Cleanup unnecessary __init__ method in OptionsFlow (#129651)
* Cleanup unnecessary init step in OptionsFlow

* Increase coverage
2024-11-02 18:15:41 +01:00
epenet
2c7d0b8909
Initialise coordinator with config_entry in components (part 1) (#128080) 2024-10-29 16:18:04 +01:00
epenet
a3c2a7e1e0
Remove redundant source_type property from TrackerEntities (#126717) 2024-09-25 08:56:42 +02:00
epenet
d530fd31b0
Use root import for async_redact_data in diagnostics (#125821) 2024-09-12 20:37:00 +02:00
Erik Montnemery
38ef216894
Update icons.json to new service schema part 4 (#124771) 2024-08-28 13:48:13 +02:00
epenet
47beddc6c6
Improve config flow type hints (part 4) (#124348) 2024-08-21 22:43:42 +02:00
G-Two
189cf88537
Bump subarulink to 0.7.11 (#117743) 2024-05-26 12:56:43 +02:00
Marc Mueller
dd22ee3dac
Improve annotation styling (#118032) 2024-05-24 15:05:53 +02:00
G-Two
5ad52f122d
Return raw API data for subaru device diagnostics (#114119) 2024-05-07 17:32:17 +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
77917506bb
Improve lists in integrations [R-S] (#113233)
* Improve lists in integrations [R-S]

* Fix

* Fix
2024-03-13 21:55:00 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc Mueller
930a396712
Add empty line after module docstring [s] (#112704) 2024-03-08 14:33:51 +01:00
Joost Lekkerkerker
4f9d8d3048
Add icon translations to Subaru (#112252) 2024-03-05 08:47:28 +01:00
Erik Montnemery
b0ed8c4961
Migrate integrations s-t to generic flowhandler (#111865) 2024-02-29 22:16:14 +01:00
Joost Lekkerkerker
ac53b78a0c
Deduplicate constants A-D (#105638) 2023-12-13 14:21:44 +01:00
G-Two
229944c21c
Bump subarulink to 0.7.9 (#103761) 2023-11-10 21:32:10 +01:00
G-Two
dd3790641a
Bump to subarulink 0.7.8 (#103033) 2023-10-30 09:46:48 +01:00
Jan Rieger
74a57e8676
Use more common translations (#100135) 2023-09-12 19:44:31 +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
G-Two
c5e5567912
Add device tracker to Subaru integration (#79492)
* Add device tracker to subaru integration

* Fix timestamp in device tracker

* Add test for device tracker

* Incorporate PR review comments

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Incorporate code review comments

* Add tests for bad device tracker data

* Check device tracker data is available in entity

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-05 15:52:20 +02:00
Joost Lekkerkerker
77f2eb0ac9
Add entity translations to Subaru (#96186) 2023-07-22 17:29:04 +02:00
Joost Lekkerkerker
fff254e0dc
Avoid using name in Subaru migrations (#96221)
* Avoid using name in Subaru migrations

* Add feedback

* Update tests/components/subaru/test_sensor.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update tests/components/subaru/test_sensor.py

Co-authored-by: G-Two <7310260+G-Two@users.noreply.github.com>

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: G-Two <7310260+G-Two@users.noreply.github.com>
2023-07-20 14:45:07 +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
Franck Nijhof
62fe4957c9
Migrate integration services (Q-S) to support translations (#96378) 2023-07-12 01:18:22 +02:00
Garrett
77287eb021
Bump subarulink to 0.7.6 (#91064) 2023-04-07 21:56:39 -04:00
Garrett
34f8e94ca9
Bump subarulink to 0.7.5 (#89162) 2023-03-04 22:26:16 +01:00
Erik Montnemery
23fa500406
Sort manifests 9 (#87030) 2023-02-08 20:22:30 +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
Franck Nijhof
fcb612cd6f
Collection of code styling tweaks (#87344) 2023-02-03 23:51:27 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
GitHub Action
b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
Erik Montnemery
b0d4b73874
Add unitless unit converter (#85694)
* Add unitless unit converter

* Adjust type hints

* Adjust tests

* Rename to UnitlessRatioConverter
2023-01-12 09:20:00 +01:00
epenet
069d8024a4
Remove invalid state class in Subaru sensor (#85520) 2023-01-09 15:59:17 -07:00
epenet
f988a1164d
Use UnitOfPressure in integrations (#84230) 2022-12-19 21:41:46 +01:00
epenet
d72c28a135
Use UnitOfLength in integrations (#84034) 2022-12-15 12:42:53 +01:00
GitHub Action
f19a1147fe [ci skip] Translation update 2022-12-11 00:26:24 +00:00
epenet
456c5515c8
Use UnitOfVolume in integrations (#83646) 2022-12-10 12:43:13 +01:00
GitHub Action
1e0345a377 [ci skip] Translation update 2022-12-10 00:21:35 +00:00
GitHub Action
f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action
1f3e5fb4fc [ci skip] Translation update 2022-12-07 00:24:08 +00:00
Garrett
efc637cb2b
Bump subarulink to v0.7.0 (#83213)
fixes undefined
2022-12-05 10:53:05 +01:00
GitHub Action
197e71203b [ci skip] Translation update 2022-11-30 00:26:16 +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
f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
GitHub Action
3bea04e387 [ci skip] Translation update 2022-11-21 00:26:41 +00:00
GitHub Action
8b4dbbe593 [ci skip] Translation update 2022-11-10 00:27:41 +00:00
GitHub Action
697a81c4a3 [ci skip] Translation update 2022-11-02 00:30:01 +00:00
Garrett
494cbf0dbe
Add diagnostics to Subaru integration (#81169)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-29 15:02:32 -05:00