epenet
5b80b1f55a
Add type hints to integration tests (part 25) ( #88308 )
2023-02-17 16:52:28 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
278050a73f
Add type hints to integration tests (t-z) ( #87707 )
2023-02-08 19:10:53 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Franck Nijhof
a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74656 )
2022-07-07 21:28:18 +02:00
Franck Nijhof
1ead6d6762
Automatically onboard Yeelight ( #73854 )
2022-06-22 21:19:34 +02:00
J. Nick Koston
ad9e1fe166
Fix reload race in yeelight when updating the ip address ( #73390 )
2022-06-12 20:29:44 -07:00
epenet
a29990a784
Use new CONF_MODEL core constant (1/3) ( #68829 )
...
* Use CONF_MODEL in axis
* Use CONF_MODEL in denonavr
* Use CONF_MODEL in flux_led
* Use CONF_MODEL in konnected
* Use CONF_MODEL in steamist
* Use CONF_MODEL in tellstick
* Use CONF_MODEL in tensorflow
* Use CONF_MODEL in twinkly
* Use CONF_MODEL in yeelight
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-29 11:11:58 +02:00
J. Nick Koston
8f0b6eac41
Fix yeelight config flow ip update and timeout ( #66883 )
2022-02-19 17:24:50 +01:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses ( #65462 )
2022-02-11 16:46:17 -06:00
epenet
73a4dba2ae
Use dataclass properties in yeelight discovery ( #60640 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 22:28:19 -10:00
J. Nick Koston
67684d68ff
Fix slow yeelight discovery test ( #60346 )
2021-11-25 11:39:37 -06:00
epenet
2468724378
Use SsdpServiceInfo for ssdp tests (part 2) ( #60322 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-25 09:45:35 -06:00
J. Nick Koston
881d35ab17
Split up yeelight code into multiple files ( #59990 )
2021-11-23 11:56:07 -06:00
epenet
9f74ad06d6
Update ZeroconfServiceInfo in tests (t-z) ( #60221 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 11:28:50 -06:00
epenet
560546f65e
Use dataclass for DhcpServiceInfo ( #60136 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 13:35:53 +01:00
epenet
8b26b69366
Use ServiceInfo in yeelight ( #60127 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-22 08:15:14 -06:00
J. Nick Koston
c3c0a52929
Fix overriding the yeelight model if it is not known ( #56967 )
2021-10-26 21:04:19 +02:00
J. Nick Koston
147febb18a
Prevent yeelight discovery from overloading the bulb ( #57820 )
2021-10-17 20:30:43 -07:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
João Pedro Hickmann
4513a46248
Add zeroconf support for yeelight ( #56758 )
2021-09-28 20:53:43 -05:00
J. Nick Koston
089dfad78a
Ensure yeelight model is set in the config entry ( #55281 )
...
* Ensure yeelight model is set in the config entry
- If the model was not set in the config entry the light could
be sent commands it could not handle
* update tests
* fix test
2021-08-26 13:02:59 -05:00
J. Nick Koston
b71f2689d7
Make yeelight aware of the network integration ( #54854 )
2021-08-20 19:09:22 -05:00
J. Nick Koston
3cb7227040
Normalize the display name of yeelight devices ( #54883 )
...
Co-authored-by: Teemu R. <tpr@iki.fi>
2021-08-20 14:32:48 -07:00
J. Nick Koston
8103d9ae3c
Add missing id to yeelights that were setup manually ( #54855 )
2021-08-19 08:46:14 -05:00
J. Nick Koston
e7a0604a40
Make yeelight discovery async ( #54711 )
2021-08-18 09:36:13 -07:00
starkillerOG
a23da30c29
Yeelight local push updates ( #51160 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-09 13:33:34 -05:00
Daniel Rheinbay
3c452f8c9b
Refactor yeelight integration to use only flows ( #51255 )
...
* Refactor light.py to use only flows.py, eliminating transitions.py
* Reformat yeelight source code using black
2021-06-01 09:04:49 +02:00
Paulus Schoutsen
aef24a807e
Yeelight: Do not log errors when cannot connect ( #50592 )
2021-05-13 22:33:18 -07:00
J. Nick Koston
c037ebb27c
Add discovery to yeelight ( #50385 )
2021-05-11 19:55:50 -05:00
tkdrob
add0d9d3eb
Use core constants for yeelight ( #46552 )
2021-02-16 09:00:09 -05:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Xiaonan Shen
f23fcfcd9b
Fix yeelight connection issue ( #40251 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-27 14:47:11 +01:00
Xiaonan Shen
7b3182fa8f
Improve Yeelight code ( #39543 )
...
* Rename ipaddr to ip_addr
* Move custom services to entity services
* Remove platform data
* Change service setup to callback
* Rename ip_addr to host
* Use _host inside class
2020-09-02 18:42:12 +02:00
Xiaonan Shen
45a927ffb2
Add config flow to yeelight ( #37191 )
2020-08-31 16:40:56 +02:00