Xiaonan Shen
f499187835
Fix yeelight binary sensor unique ID ( #42562 )
2020-11-09 08:32:21 +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
zewelor
92756f9b12
Add explicit return none and binary sensor availability to yeelight ( #35649 )
...
* Add explicit return none and binary sensor availbility
* Fix
2020-05-15 17:41:53 +02:00
zewelor
8cf354c042
Provide yeelight unique_id using ssdp discovery ( #35448 )
...
* Provide yeelight unique_id using ssdp discovery
* Fixes
* Comment fix
* Cleanup initialization logic and add unique id to binary sensor
* Update homeassistant/components/yeelight/__init__.py
Co-authored-by: Teemu R. <tpr@iki.fi>
* Update homeassistant/components/yeelight/__init__.py
Co-authored-by: Teemu R. <tpr@iki.fi>
* Update comment
* Update comment
* Fix wrong model docstring
Co-authored-by: Teemu R. <tpr@iki.fi>
2020-05-14 19:44:32 +02:00
Erik Montnemery
b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ( #34462 )
...
* Rename BinarySensorDevice to BinarySensorEntity
* Tweak
* Move deprecation warning to __new__, add test
* Move deprecation warning back to __init__
* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
Paulus Schoutsen
4ebbabcdd1
Unsub dispatcher when removing entity from hass ( #33510 )
...
* Unsub dispatcher when removing entity from hass
* Update homeassistant/components/plaato/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/volvooncall/__init__.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-02 09:25:33 -07:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
Bas Nijholt
3f469eac28
Sort imports according to PEP8 for yeelight ( #29755 )
2019-12-09 13:10:24 +01:00
Franck Nijhof
dae6895a95
Use literal string interpolation in integrations X-Z (f-strings) ( #26395 )
2019-09-03 21:15:31 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
zewelor
f62d1d8d09
Optimize yeelight signal handling ( #22806 )
2019-04-07 16:07:50 +02:00
zewelor
bb5c18f7be
Use relative imports in yeelight ( #22839 )
2019-04-07 16:07:15 +02:00
zewelor
6a74c403c0
Update python yeelight and add nightlight mode sensor ( #22345 )
2019-03-25 19:06:43 +01:00