Commit graph

20 commits

Author SHA1 Message Date
Eric Severance
f0b9aa7894
Bump pywemo==0.8.1 (#72400) 2022-05-24 09:53:01 +02:00
Marc Mueller
129c9e42f1
Update coordinator typing (7) [w-z] (#68467) 2022-03-21 15:29:11 +01: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
Eric Severance
d60540d4f5
Cast types in wemo rather than converting (#62454) 2021-12-20 22:34:34 -06:00
Eric Severance
1318597370
Fix typing for wemo (#62157) 2021-12-19 18:09:30 -06:00
Marc Mueller
d5116810d4
Use assignment expressions 08 (#57788) 2021-10-17 20:02:42 +02:00
Eric Severance
e6ba3b41cb
Add Binary Sensor for WeMo Insight & Maker (#55000)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-22 20:09:22 +02:00
Eric Severance
67d04b6082
Use DataUpdateCoordinator for wemo (#54866)
* Use DataUpdateCoordinator for wemo

* Rename DeviceWrapper->DeviceCoordinator and make it a subclass of DataUpdateCoordinator

* Rename async_update_data->_async_update_data to override base class

* Rename: device -> coordinator
2021-08-21 20:14:55 +02:00
Eric Severance
61079ab7fa
Support receiving long-press events from WeMo devices (#45503)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-16 12:00:34 +02:00
Milan Meulemans
29d72714f3
Replace dict with DeviceInfo (#49950)
* Replace dict with DeviceInfo

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-02 00:37:19 +02:00
Paulus Schoutsen
a90d3a051f
prefer total_seconds over seconds (#49505) 2021-04-20 17:41:36 -07:00
Marc Mueller
c07646db5d
Update typing syntax (#49480)
* Update typing syntax

* Replace typing imports with ones from collections where possible

* Changes after review
2021-04-20 17:40:41 +02:00
Marc Mueller
dcca29ef68
Update typing 14 (#48078) 2021-03-18 15:08:35 +01:00
Eric Severance
1d7660f071
Explain why should_pool is True initially for wemo (#47191) 2021-02-28 13:51:43 -10:00
Eric Severance
fe4cf611f7
Disable update polling for Wemo when devices can push updates (#46806) 2021-02-20 09:37:48 -10:00
Eric Severance
e6125a1e4e
Bump pywemo to 0.6.2 (#46797) 2021-02-20 03:49:39 +01:00
Eric Severance
2ac075bb37
Perform wemo state update quickly after a timeout (#46702)
* Perform state update quickly after a timeout

* with async_timeout.timeout(...) -> async with async_timeout.timeout(...)
2021-02-18 00:38:08 +01:00
Eric Severance
8bee3cda37
Centralize wemo exception handling (#46705) 2021-02-17 23:36:39 +01:00
Eric Severance
f7c0fc5553
Increase async_timeout for wemo update polling (#46649) 2021-02-17 13:17:16 +01:00
Eric Severance
8255815688
Share wemo entity code to reduce duplicate boilerplate (#44113) 2020-12-13 12:02:45 +01:00