Ahh ok, it’s a white bulb, I don’t know how to check the model number
white bulb can be controlled via automation without any issue. only problem is you cannot control it on the frontend.
ahhh, yes I tried to control it with frontend. Now will try automation, thanks
another user suggested this
use this code: https://github.com/mxtra/yeelight-ha1 for Yeelights
.
EDIT Tried, works very well!
I can confirm this one works perfectly with all yeelights, even the white ones. Can someone add that to HA and update the old one that breaks the white lights.
Thanks
It has a minor bug. Sometimes it shows the light is on, while in reality is off.
For the rest is working
Yeah, just noticed that now it doesn’t read the status of the light. If I turn the light off/on on the Yeelight APP it doesn’t update the status
What are the values you put for a warm whit light?
Is there anyway to add support for the Xiaomi Philips Eyecare light?
where is the folder of custom_components? i can’t find it in my home assistant folder?
Just create it on the homeassistant root folder
not working,
@mxtra Thank you for yeelight-ha !!
Here are some bugs I found:
- Customizations don’t seem to work with yeelight platform when imported from yeelight.py (ex. I can’t change the friendly_name or set a custom icon)
- I can’t set the default brightness
- HA GUI doesn’t change state if light bulb changes state (by hand or via yeelight app)
Would it be possible to address this issues?
Also, is there a plan to merge this into HA?
i create custom components folder but don’t seem it working.
The state of the bulb it’s bad can’t use or rely on it atm because of it… hope it gets fixed soon
Hello,
this still can work? i try to add the line to the my HA but this is not working.
i be happy to help,
via telnet the lamp is off on via command
{“id”:1,“method”:“set_power”,“params”:[“off”, “smooth”, 2000]}
work fine,
but with HA i cannot get it to work, i try all step user add here, non of this work for me.
any one can tell me what i need to do exactly?
Big Thanks!
Yanir
The following presumes that you are running Linux (and probably works on MacOS) and that you have installed home assistant to run as “hass” user:
sudo su -s /bin/bash hass
mkdir -p /home/hass/.homeassistant/custom_components/light
cd /home/hass/.homeassistant/custom_components/light
wget https://raw.githubusercontent.com/mxtra/yeelight-ha/master/yeelight.py
Then in HA configuration.yaml:
lights:
- platform: yeelight
devices:
10.0.0.51:
name: Living Room Light
transition: 600
NOTE: Substitute 10.0.0.51 with the ip address of your yeelight light bulb
IMPORTANT: You need to enable developer support on the light bulb using the yeelight app.
Restart HA and test
Will this override the existing yeelight component that is currently in HA?