Commit graph

209 commits

Author SHA1 Message Date
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
epenet
a6f112df80
Use EntityFeature enum in components (w**) (#69468)
* Use EntityFeature enum in webostv

* Use EntityFeature enum in wemo

* Use EntityFeature enum in whirlpool

* Use EntityFeature enum in wilight
2022-04-07 08:12:39 +03:00
epenet
bfd84ba89c
Prettify yaml (services.yaml) (#68878) 2022-03-30 09:48:06 +02:00
Paulus Schoutsen
69fcce3b2c
Remove energy usage from the switch base class (#68821)
* Remove energy usage from the switch base class

* Remove unused attributes from integrations
2022-03-28 18:56:04 -10:00
Eric Severance
c6ba987995
Use device properties for WeMo Insight sensors (#63525) 2022-03-28 17:47:18 -07:00
Marc Mueller
129c9e42f1
Update coordinator typing (7) [w-z] (#68467) 2022-03-21 15:29:11 +01:00
J. Nick Koston
723dcbafca
Complete fan speed transition from #59781 (#67743) 2022-03-09 10:38:12 +01:00
GitHub Action
102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
GitHub Action
2da4d280b2 [ci skip] Translation update 2022-02-06 00:17:31 +00:00
GitHub Action
ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action
77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
GitHub Action
e591393f01 [ci skip] Translation update 2022-01-28 00:14:53 +00:00
Franck Nijhof
7a2b699371
Update codespell to 2.1.0 (#64661) 2022-01-21 22:05:24 +01:00
Eric Severance
35cf6d7a7b
Use wemo enums in fan entity (#64397) 2022-01-18 22:13:25 -10:00
Eric Severance
8459a28489
WeMo state changes are seen by all coordinator entities (#64228)
* WeMo push update is seen by all coordinator entities

* Rename _wemo_exception_handler -> _wemo_call_wrapper

* Test turning off the entity

* Test setting light brightness

* Improve brightness test

* It is unnecessary to setup the platform integration

* Use domain names, not platform enum, in service calls
2022-01-17 10:03:24 +01:00
Marc Mueller
bcb93d95bb
Update typing (4) [u-z] (#63925) 2022-01-11 21:26:45 +01:00
Marc Mueller
250af90acb
Improve callable typing [helpers.event] (#63543) 2022-01-06 21:01:27 -10:00
Marc Mueller
04e1933728
Use correct relative imports [n-z] (#63471) 2022-01-05 17:23:49 +01:00
Eric Severance
a1be11a492
Store wemo device sw_version & upnp connections (#62758) 2021-12-24 10:31:42 -10:00
Eric Severance
d60540d4f5
Cast types in wemo rather than converting (#62454) 2021-12-20 22:34:34 -06:00
Eric Severance
f50dc10276
Use the Platform enum in wemo (#62153) 2021-12-19 21:11:40 -08:00
Eric Severance
e8096e7f51
Bump pywemo==0.7.0 (#62360) 2021-12-19 21:02:05 -08:00
Eric Severance
1318597370
Fix typing for wemo (#62157) 2021-12-19 18:09:30 -06:00
Eric Severance
d874eb261d
Fix Wemo create task for awaitable (#62159) 2021-12-17 16:23:53 +01:00
Robert Hillis
b8dabfe659
Use enums in wemo (#61983)
* Use enums in wemo

* uno mas
2021-12-16 09:02:23 +01:00
GitHub Action
d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
GitHub Action
29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00