Commit Graph
369 Commits
Author SHA1 Message Date
Aaron Bach 881237189d Add activity type to appropriate RainMachine switches (#117875) 2024-05-24 22:40:13 +02:00
Marc Mueller 0e03e591e7 Improve callable annotations (#118024) 2024-05-24 10:24:09 +02:00
epenet 6b2ddcca5e Move rainmachine coordinator to separate module (#117983)
* Move rainmachine coordinator to separate module

* Coverage
2024-05-23 16:41:50 +02:00
Marc Mueller c41962455e Use PEP 695 for decorator typing (2) (#117639) 2024-05-17 16:31:01 +02:00
Aaron Bach 4d77bec681 Bump regenmaschine to 2024.03.0 (#113074) 2024-03-11 18:37: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 a033574ee2 Add empty line after module docstring [r] (#112703) 2024-03-08 15:05:07 +01:00
Joost Lekkerkerker b8629028da Add icon translations to Rainmachine (#112202) 2024-03-04 15:45:48 +01:00
Erik Montnemery e0c1feb22c Migrate integrations n-r to generic flowhandler (#111864) 2024-02-29 20:09:01 +01:00
J. Nick Koston 4bdd8dbd40 Refactor rainmachine to increase chance of reusing the connection (#111573) 2024-02-26 16:31:18 -10:00
J. Nick Koston fb622c6cc8 Migrate rainmachine to use async_update_entry to alter config entries (#110377) 2024-02-12 11:35:17 -06:00
J. Nick Koston 74812261d4 Avoid linear search of entity registry in rainmachine (#109642) 2024-02-04 21:17:40 +01:00
J. Nick Koston bea7dd756a Bump regenmaschine to 2024.01.0 (#109157) 2024-01-30 12:34:48 -10:00
Jan-Philipp BeneckeandMartin Hjelmare 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
Aaron Bach d5c1049bfe Remove unnecessary RainMachine entity description mixins (#108190) 2024-01-16 15:04:32 -10:00
kingy444 25f9c5f34b Fix RainMachine bugs (#106231) 2023-12-27 12:38:37 +01:00
Ville Skyttä 24b1e01d71 Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080)
* Disable Ruff rules that may conflict with the formatter

* Upgrade Ruff to 0.1.8

- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8

* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
Erik MontnemeryandJ. Nick Koston 0c2485bc03 Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Marc Mueller d597cfec49 Improve decorator type annotations (#104821) 2023-11-30 18:45:18 +01:00
Seth 5ac149a760 Remove state class from RainMachine TIMESTAMP sensors (#100400) 2023-09-15 14:33:17 +02:00
J. Nick Koston e1db3ecf52 Retry rainmachine setup later if the wrong device is found (#98888) 2023-08-23 14:21:18 -05:00
Robert Resch 790523126e Name unnamed update entities by their device class (#98579) 2023-08-18 13:40:35 +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
J. Nick Koston 54e7185617 Disable always_update in rain machine coordinator (#97410) 2023-07-28 12:33:33 -05:00
Franck Nijhof 30058297cf Migrate backported StrEnum to built-in StrEnum (#97101) 2023-07-23 23:19:24 +02:00
Paulus SchoutsenandMichael 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
Joost Lekkerkerker 29d7535b7b Add entity translations to Rainmachine (#96033) 2023-07-07 18:27:44 +02:00
Aaron Bach 3fe180d55c Fix implicit device name for RainMachine update entity (#96094)
Fix implicit device name for RainMachine update entity
2023-07-07 11:25:23 -04:00
Aaron Bach 08262f480b Bump regenmaschine to 2023.06.0 (#94554) 2023-06-13 21:37:56 +02:00
Aaron Bach e48961d29b Bump regenmaschine to 2023.05.1 (#93139) 2023-05-16 16:28:20 -06:00
epenet 4a3c0cd0a8 Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +01:00
epenet b3d6f098d2 Adjust entity registry access in integrations (1) (#88946) 2023-03-01 08:02:34 +01:00
Erik Montnemery cc564026fa Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Erik Montnemery 5dfb9cddd6 Sort manifests 8 (#87029) 2023-02-08 20:13:46 +01:00
Franck NijhofandErik Montnemery 939eef3b28 Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Marc Mueller 45b4b0e990 Import ParamSpec from typing [Py310] (#86413)
* Import ParamSpec from typing [Py310]

* Update additional imports
2023-01-23 07:28:43 +01:00
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
Marc Mueller d26484d482 Remove unnecessary try-else (4) (#86161) 2023-01-18 13:17:08 +01:00
Aaron Bach b80997cc43 Remove unnecessary title kwarg in options flows (#85131) 2023-01-04 12:17:58 -07:00
GitHub Action b3ab0a0199 [ci skip] Translation update 2022-12-29 00:23:20 +00:00
Marc Mueller e170681016 Improve DataUpdateCoordinator typing in integrations (3) (#84657) 2022-12-27 22:49:23 +01:00
GitHub Action b9753a9f92 [ci skip] Translation update 2022-12-13 00:27:47 +00:00
GitHub Action 1e0345a377 [ci skip] Translation update 2022-12-10 00:21:35 +00:00
epenet b44e8673a8 Use WATER device class in rainmachine (#83651) 2022-12-09 10:19:18 -05: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
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 33d391a110 [ci skip] Translation update 2022-11-24 00:26:32 +00:00