Commit graph

26 commits

Author SHA1 Message Date
Alex Yao
714d46b153
Silence Yeelight Discovery Log Errors (#76373) 2022-08-07 09:47:49 -10:00
Franck Nijhof
1ead6d6762
Automatically onboard Yeelight (#73854) 2022-06-22 21:19:34 +02:00
epenet
42ed0fd47b
Add async_get_options_flow type hints (n-z) (#73431) 2022-06-13 13:30:41 +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
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
881d35ab17
Split up yeelight code into multiple files (#59990) 2021-11-23 11:56:07 -06: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
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
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
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
J. Nick Koston
34c84a6bbb
Reduce boilerplate to abort for matching config entries (#50186)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-11 22:00:12 +02:00
Franck Nijhof
64c7d84108
Clean up connection classes in integrations T-Z (#49894) 2021-04-30 21:04:05 -10:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
tkdrob
add0d9d3eb
Use core constants for yeelight (#46552) 2021-02-16 09:00:09 -05: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