bobaqwe
(boba)
March 31, 2021, 1:14am
1
Hello
I’m trying to add Yeelight Meteorite Pendant Light and Yeelight Ceiling Light 480 to work with Home Assistant
both lights have latest firmware and Lan Control enabled.
they appear in HA Integrations view but have no devices or entities
I’ve added to configuration.yaml
devices:
192.168.2.110:
name: ceiling10
transition: 1000
nightlight_switch_type: light
model: ceiling10
192.168.2.111:
name: ceiling3
transition: 1000
nightlight_switch_type: light
model: ceiling3
but it doesn’t help
Am I missing something?
Thanks
walaj
(Jon Waland)
March 31, 2021, 6:15am
2
assuming you have all that in your configuration.yaml file, you are missing yeelight:
at the start as per https://www.home-assistant.io/integrations/yeelight#full-configuration
However, all of that is (in theory) optional - the devices and entities should show in the integrations page, without any additional config:
do you have static IP addresses for the lights? And are they correct?
bobaqwe
(boba)
March 31, 2021, 6:28am
3
hey @walaj ,
I’ve set static IP in my router for yeelight devices and they are correct - I can control them through Yeelight android app
in configuration.yaml I currtently have:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
discovery:
ignore:
- yeelight
yeelight: !include yeelight.yaml
and the previously pasted part is in yeelight.yaml
yeelight integrations look like this:
bobaqwe
(boba)
March 31, 2021, 6:28am
4
no entities or devices inside
tagz1979
(Tagz1979)
April 1, 2021, 1:38pm
5
Add an entity card in your lovelace and add light.ceiling10 and light.ceiling3 and see if you can control it.
pepe59
(Pepe59)
April 1, 2021, 1:46pm
6
You have LAN control enabled in the application?
walaj
(Jon Waland)
April 9, 2021, 6:28am
7
OK - so they definitely not being found correctly.
Do you still have LAN Control enabled? See https://github.com/home-assistant/core/issues/46997 - some firmware versions have dropped LAN Control…
Also, remove yeelight
from the discovery:
- I dont have this.
walaj
(Jon Waland)
April 9, 2021, 6:28am
8
that wont work as there are no entities under the integration…
hpapagaj
(Hpapagaj)
April 9, 2021, 8:25pm
9
My Yeelight’s are completely stopped working in 2021.4:
2021-04-09 22:24:09 ERROR (MainThread) [homeassistant.setup] Error during setup of component yeelight
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 240, in _async_setup_component
result = await task
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/yeelight/__init__.py", line 136, in setup
discovery.listen(hass, SERVICE_YEELIGHT, device_discovered)
AttributeError: module 'homeassistant.helpers.discovery' has no attribute 'listen'
hpapagaj
(Hpapagaj)
April 9, 2021, 9:05pm
10
So I opened a bug ticket, but it was closed by Paul. I don’t exactly understand the reason, but where else to ask for help?
opened 08:34PM - 09 Apr 21 UTC
closed 08:55PM - 09 Apr 21 UTC
The problem
I upgraded from 2021.3.4 to 2021.4.1 and my Yeelight lights are stopped working (it's not a firmware issue, I never...
integration: yeelight
Anyone else have this problem?
walaj
(Jon Waland)
April 12, 2021, 12:28am
11
for those not checking, looks like hpapagaj had a custom component rather than the default yeelight…