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
Eric Severance
7f7b7aee6d
pyWeMo serialnumber is deprecated, use serial_number ( #94791 )
2023-06-17 20:59:19 -04:00
Erik Montnemery
2406b235b4
Name unnamed binary sensors by their device class ( #92940 )
...
* Name unnamed binary sensors by their device class
* Update type annotations
* Fix loading of entity component translations
* Add test
* Update integrations
* Set abode and rfxtrx binary_sensor name to None
* Revert changes in homekit_controller
2023-06-13 19:48:54 +02:00
Erik Montnemery
a71c097aeb
Revert "Allow setting an entity's name by its device class" ( #93539 )
2023-05-25 17:20:54 +02:00
epenet
f6b700372a
Allow wemo config entry to be unloaded ( #93082 )
...
* Fix lingering timer in wemo
* Also stop the subscriptions
2023-05-16 06:31:31 +02:00
Marc Mueller
2b59adc955
Update mypy to 1.3.0 ( #92911 )
2023-05-11 08:38:08 +02:00
Erik Montnemery
67c1051305
Allow setting an entity's name by its device class ( #90767 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-05-09 18:55:55 +02:00
Eric Severance
68ce59e9c1
Skip adding WeMo device on failure ( #91621 )
...
* Skip adding WeMo device on failure
* Only create a single log entry for each failed device
* Fix typo s/serial_number/serialnumber/
* Discard failed devices on success
2023-04-22 23:10:08 +02:00
Erik Montnemery
6c2702a7b8
Sort manifests 11 ( #87032 )
2023-02-08 20:10:18 +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
d4955a3d87
Replace assert False by raising an error ( #86686 )
2023-01-26 16:51:43 +01:00
Marc Mueller
6397138589
Update Optional typing (1) [Py310] ( #86417 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-23 09:56:10 +01:00
Marc Mueller
1de41ab123
Improve DataUpdateCoordinator typing in integrations (1) ( #84655 )
2022-12-27 22:44:25 +01:00
epenet
ebdf9a8658
Use UnitOfEnergy in integrations (o-z) ( #84221 )
2022-12-19 10:58:37 +01:00
epenet
52d4a358a0
Use UnitOfPower in integrations [s-z] ( #83826 )
2022-12-12 12:20:16 +01:00
GitHub Action
3ab9a14ce7
[ci skip] Translation update
2022-12-06 00:21:31 +00:00
GitHub Action
03154e1d83
[ci skip] Translation update
2022-12-03 00:21:50 +00:00
GitHub Action
230b50d099
[ci skip] Translation update
2022-11-29 00:26:01 +00:00
GitHub Action
eaf6d43508
[ci skip] Translation update
2022-11-23 00:26:26 +00:00
GitHub Action
c7fc51cfa5
[ci skip] Translation update
2022-11-04 00:29:52 +00:00
Franck Nijhof
bb287dd0ed
Integrations v2.1: Virtual integrations ( #80613 )
2022-10-20 23:09:06 -04:00
Franck Nijhof
a8f1cc0d33
Remove unneeded guards from (async_)add_entities call ( #80471 )
2022-10-17 21:11:58 +02:00
Marc Mueller
badbc414fb
Use TriggerActionType [w-z] ( #76814 )
2022-08-15 20:15:57 +02:00
GitHub Action
cb46441b74
[ci skip] Translation update
2022-08-05 00:28:51 +00:00
GitHub Action
a3fd5acf3f
[ci skip] Translation update
2022-07-13 00:27:34 +00:00
Robert Hillis
5c5fd746fd
Add digital loggers as a Belkin supported brand ( #72515 )
2022-06-22 22:38:45 +02:00
epenet
837957d89e
Adjust set_percentage routine in fans ( #73837 )
2022-06-22 18:22:01 +02:00
Eric Severance
d587e4769a
Bump pywemo to 0.9.1 ( #73186 )
2022-06-07 23:39:15 +02:00
Joakim Plate
8910d265d6
Keep track of a context for each listener ( #72702 )
...
* Remove async_remove_listener
This avoids the ambuigity as to what happens if same callback is added multiple times.
* Keep track of a context for each listener
This allow a update coordinator to adapt what data to request on update from the backing service based on which entities are enabled.
* Clone list before calling callbacks
The callbacks can end up unregistering and modifying the dict while iterating.
* Only yield actual values
* Add a test for update context
* Factor out iteration of _listeners to helper
* Verify context is passed to coordinator
* Switch to Any as type instead of object
* Remove function which use was dropped earliers
The use was removed in 8bee25c938
2022-06-03 13:55:57 +02:00
Eric Severance
1a43f107c4
All WeMo devices use the Sensor platform ( #72396 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-05-24 16:40:14 +02:00
Eric Severance
f0b9aa7894
Bump pywemo==0.8.1 ( #72400 )
2022-05-24 09:53:01 +02:00
Eric Severance
92582beeff
Use properties of wemo Maker device ( #72378 )
2022-05-23 19:28:16 +02:00
epenet
bcc3c93b4e
Adjust device_automation type hints in wemo ( #72141 )
2022-05-23 14:56:17 +02:00
Eric Severance
cf5e21a996
Use properties of wemo Insight device ( #72316 )
2022-05-23 08:43:42 +02:00
GitHub Action
ceb8bb4745
[ci skip] Translation update
2022-05-21 00:22:49 +00:00
GitHub Action
37f81b261d
[ci skip] Translation update
2022-05-16 00:24:28 +00:00
epenet
75ce66e8bd
Migrate wemo light to ColorMode ( #70857 )
2022-05-09 18:42:18 +02:00
epenet
da8160a770
Use LightEntityFeature enum in wemo ( #71058 )
2022-04-29 22:49:16 +03:00