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
Paulus Schoutsen
0677a256ec
Add model ID to Wemo ( #125368 )
2024-09-05 23:03:50 +02:00
Erik Montnemery
38ef216894
Update icons.json to new service schema part 4 ( #124771 )
2024-08-28 13:48:13 +02:00
Erik Montnemery
5836f8edb5
Pass None instead of empty dict when registering entity services ( #123879 )
...
* Pass None instead of empty dict when registering entity services
* Update rainmachine
2024-08-15 10:11:43 +02:00
G Johansson
ca4c617d4b
Add TURN_OFF/TURN_ON feature flags for fan ( #121447 )
2024-07-19 11:35:24 +02:00
Marc Mueller
ca55986057
Import Generator from collections.abc (1) ( #120914 )
2024-07-01 11:51:51 +02:00
Marc Mueller
3a5acd6a57
Use VolDictType for service schemas ( #120403 )
2024-06-25 12:33:41 +02:00
Marc Mueller
fe21e2b8ba
Import Generator from typing_extensions (1) ( #118986 )
2024-06-06 17:02:13 +02:00
epenet
e7ce01e649
Enforce namespace import in components ( #118218 )
2024-05-27 12:50:11 +02:00
Marc Mueller
bc2ee96cae
Remove quotes surrounding annotations ( #117817 )
2024-05-20 22:06:58 +02:00
Marc Mueller
87bb7ced79
Use PEP 695 for simple type aliases ( #117633 )
2024-05-17 14:42:21 +02:00
epenet
458cc838cf
Rename wemo coordinator module ( #117437 )
2024-05-14 20:21:50 +02:00
J. Nick Koston
89049bc022
Fix config entry _async_process_on_unload being called for forwarded platforms ( #117084 )
2024-05-08 23:59:37 +02:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 ( #116250 )
2024-05-07 14:00:27 +02:00
J. Nick Koston
c3aa238a33
Fix wemo push updates delaying shutdown ( #116333 )
2024-04-28 08:14:45 -05:00
J. Nick Koston
ca5ed274cb
Deprecate calling async_listen and async_listen_once with run_immediately ( #115169 )
2024-04-08 10:07:54 -10:00
J. Nick Koston
69a6e9f5d7
Use eager_start to forward wemo config entry platforms ( #114702 )
...
* Use eager_start to forward wemo config entry platforms
These can all be setup synchronously
* do not create another task
2024-04-03 20:29:48 +02:00
Sid
a5b609f081
Enable ruff TRY401 ( #114395 )
...
* Enable ruff TRY401
* fix tests
2024-03-29 07:20:36 +01:00
J. Nick Koston
abb217086f
Group wemo platform forwards to reduce overhead ( #113972 )
2024-03-21 21:59:50 -04:00
J. Nick Koston
b26f0bc488
Only create one executor job to shutdown wemo ( #113836 )
...
Currently we created two but the work can be done in a single job
2024-03-19 19:59:37 -04:00
Sid
6ee273a548
Clean up unneeded ruff noqa directives ( #113616 )
2024-03-16 09:48:37 -10:00
Joost Lekkerkerker
5f48083eca
Add service icons to Wemo ( #113363 )
2024-03-14 13:11:55 +01:00
J. Nick Koston
5ae207001f
Avoid multiple executor jobs to add wemo devices ( #112484 )
2024-03-12 18:49:17 +01:00
J. Nick Koston
5e2edb6819
Ensure wemo discovery is run in a background task ( #112665 )
2024-03-11 15:13:41 +01:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Marc Mueller
cb8c14496c
Use more f-strings [ruff] ( #112695 )
2024-03-08 18:44:42 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest ( #112725 )
2024-03-08 12:02:32 -05:00
Marc Mueller
c773d57d39
Add empty line after module docstring [w-z] ( #112706 )
2024-03-08 10:35:45 -05:00
J. Nick Koston
87a82e0562
Fix detection of DLI sockets in wemo ( #112485 )
2024-03-06 10:34:18 +01:00
Erik Montnemery
9ec9ac4fd4
Migrate integrations u-z to generic flowhandler ( #111866 )
2024-02-29 20:08:16 +01:00
J. Nick Koston
7a3f829eac
Import wemo in the executor to avoid blocking the event loop ( #111587 )
...
`2024-02-26 21:12:29.792 DEBUG (MainThread) [homeassistant.loader] Importing platform wemo.config_flow took 1.11s (loaded_executor=False)`
2024-02-26 23:20:55 -05:00
Marc Mueller
d2dee9e327
Update ruff to 0.1.15 ( #109303 )
2024-02-01 13:29:01 +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
J. Nick Koston
da9fc77333
Save the HassJob type in wemo discovery to avoid checking it each time ( #107998 )
2024-01-13 23:50:21 -05:00
Eric Severance
82dc8260c6
Bump pywemo to 1.4.0 ( #107623 )
2024-01-08 20:01:15 -10: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 Bouwhuis
e8475b9b33
Add scaling utils for brightness and fanspeed ( #104753 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2023-12-04 12:10:58 +01:00
Erik Montnemery
dff18b4a16
Rename gather_with_concurrency
to gather_with_limited_concurrency
( #102241 )
...
* Rename gather_with_concurrency to gather_with_limited_concurrency
* Update test
2023-10-19 15:08:52 +02:00
Eric Severance
30b815bfb8
Bump pywemo to 1.3.0 ( #99172 )
2023-08-28 09:34:30 +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
Franck Nijhof
868a5f377f
Ruff: isort don't split imports based on trailing comma ( #98162 )
2023-08-10 14:27:03 +02:00
Eric Severance
8b8a51ffc8
Bump pywemo to 1.2.1 ( #97550 )
2023-08-01 10:08:08 +02:00
Eric Severance
7b25702605
Bump pywemo to 1.2.0 ( #97520 )
2023-07-31 12:38:31 +02:00
Franck Nijhof
86708b5590
Update ruff to v0.0.280 ( #97102 )
2023-07-23 22:00:26 +02:00
Eric Severance
5ffffd8dbc
Fully unload wemo config entry ( #96620 )
...
* Fully unload wemo config entity
* Test reloading the config entry
* Encapsulate data with dataclasses
* Fix missing test coverage
* Replace if with assert for options that are always set
* Move WemoData/WemoConfigEntryData to models.py
* Use _ to indicate unused argument
* Test that the entry and entity work after reloading
* Nit: Slight test reordering
* Reset the correct mock (get_state)
* from .const import DOMAIN
* Nit: _async_wemo_data -> async_wemo_data; not module private
2023-07-20 10:06:16 +02:00
c0ffeeca7
c989e56d3c
Rename life to lifetime: wemo ( #96845 )
2023-07-18 17:50:02 +02:00
Franck Nijhof
8d360611d1
Migrate integration services (W-Z) to support translations ( #96381 )
2023-07-12 07:36:51 +02:00
Eric Severance
abdbea8522
Bump pywemo from 0.9.1 to 1.1.0 ( #95951 )
2023-07-08 09:26:19 +02:00
Eric Severance
03dac6e171
Remove polling_interval_seconds option from wemo ( #95468 )
2023-06-28 20:27:10 +02:00
Eric Severance
bbae2061e7
Add wemo options enable_subscription & enable_long_press ( #56972 )
...
* Add wemo options enable_subscription & enable_long_press
* Also add polling_interval_seconds option
* Give feedback about invalid option combinations
* Use a frozen dataclass for Options
* Validate polling_interval_seconds
* Describe message arg
* Replace broad exception with PyWeMoException
2023-06-27 20:10:13 +02:00