Commit Graph

201 Commits (6e03b12a93a9287b60bb8a52c0c590226637e3d1)

Author SHA1 Message Date
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 () 2022-06-22 22:38:45 +02:00
epenet 837957d89e
Adjust set_percentage routine in fans () 2022-06-22 18:22:01 +02:00
Eric Severance d587e4769a
Bump pywemo to 0.9.1 () 2022-06-07 23:39:15 +02:00
Joakim Plate 8910d265d6
Keep track of a context for each listener ()
* 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 ()
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 () 2022-05-24 09:53:01 +02:00
Eric Severance 92582beeff
Use properties of wemo Maker device () 2022-05-23 19:28:16 +02:00
epenet bcc3c93b4e
Adjust device_automation type hints in wemo () 2022-05-23 14:56:17 +02:00
Eric Severance cf5e21a996
Use properties of wemo Insight device () 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 () 2022-05-09 18:42:18 +02:00
epenet da8160a770
Use LightEntityFeature enum in wemo () 2022-04-29 22:49:16 +03:00
epenet a6f112df80
Use EntityFeature enum in components (w**) ()
* 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) () 2022-03-30 09:48:06 +02:00
Paulus Schoutsen 69fcce3b2c
Remove energy usage from the switch base class ()
* 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 () 2022-03-28 17:47:18 -07:00
Marc Mueller 129c9e42f1
Update coordinator typing (7) [w-z] () 2022-03-21 15:29:11 +01:00
J. Nick Koston 723dcbafca
Complete fan speed transition from () 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 () 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 () 2022-01-21 22:05:24 +01:00
Eric Severance 35cf6d7a7b
Use wemo enums in fan entity () 2022-01-18 22:13:25 -10:00
Eric Severance 8459a28489
WeMo state changes are seen by all coordinator entities ()
* 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] () 2022-01-11 21:26:45 +01:00
Marc Mueller 250af90acb
Improve callable typing [helpers.event] () 2022-01-06 21:01:27 -10:00
Marc Mueller 04e1933728
Use correct relative imports [n-z] () 2022-01-05 17:23:49 +01:00
Eric Severance a1be11a492
Store wemo device sw_version & upnp connections () 2021-12-24 10:31:42 -10:00
Eric Severance d60540d4f5
Cast types in wemo rather than converting () 2021-12-20 22:34:34 -06:00
Eric Severance f50dc10276
Use the Platform enum in wemo () 2021-12-19 21:11:40 -08:00
Eric Severance e8096e7f51
Bump pywemo==0.7.0 () 2021-12-19 21:02:05 -08:00
Eric Severance 1318597370
Fix typing for wemo () 2021-12-19 18:09:30 -06:00
Eric Severance d874eb261d
Fix Wemo create task for awaitable () 2021-12-17 16:23:53 +01:00
Robert Hillis b8dabfe659
Use enums in wemo ()
* 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
GitHub Action 3f2b1fa952 [ci skip] Translation update 2021-11-12 00:12:35 +00:00
GitHub Action 86b12af3dc [ci skip] Translation update 2021-11-10 00:17:39 +00:00
GitHub Action 332a571bb4 [ci skip] Translation update 2021-11-07 00:12:38 +00:00
epenet 107bd11a31
Use DeviceInfo in wemo () 2021-10-28 23:58:33 +02:00
Marc Mueller ea7252e377
Use assignment expressions 21 () 2021-10-20 17:47:46 +02:00
Marc Mueller d5116810d4
Use assignment expressions 08 () 2021-10-17 20:02:42 +02:00
Robert Hillis 488a636aec
Clean up unused loggers () 2021-10-14 10:03:38 -07:00
GitHub Action f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00