Silvest89 / yeelight_v2

13 stars 1 forks source link

No entity found when starting #4

Closed dennyha closed 3 years ago

dennyha commented 3 years ago

Looks like the integration has loaded but the bulb connection is timing out. Is this the only log or is there more needed?

I am running this is my config:

yeelight_v2: devices: 192.168.1.71: name: "Desk_Lamp" ssdp_fallback: True

logger: default: critical logs: custom_components.yeelight_v2: debug custom_components.yeelight_v2.python_yeelight.yeelight.main: debug

2021-01-22 10:11:01 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for yeelight_v2 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. 2021-01-22 10:11:01 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. 2021-01-22 10:11:02 DEBUG (MainThread) [custom_components.yeelight_v2] Importing configured 192.168.1.71 2021-01-22 10:11:02 DEBUG (MainThread) [custom_components.yeelight_v2] Device config options: {'name': 'Desk_Lamp', 'model': 'color4', 'miio_token': '', 'transition': 1000, 'use_music_mode': False, 'save_on_change': True, 'ssdp_fallback': True, 'nightlight_switch': False} 2021-01-22 10:11:04 DEBUG (SyncWorker_6) [custom_components.yeelight_v2.python_yeelight.yeelight.main] Milo: False, SSDP: True 2021-01-22 10:11:04 DEBUG (SyncWorker_6) [custom_components.yeelight_v2.python_yeelight.yeelight.main] LAN Control: Bulb<192.168.1.71:55443, type=BulbType.Unknown> > {'id': 0, 'method': 'get_prop', 'params': ['power', 'main_power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'bg_power', 'bg_lmode', 'bg_flowing', 'bg_ct', 'bg_bright', 'bg_hue', 'bg_sat', 'bg_rgb', 'nl_br', 'active_mode']} 2021-01-22 10:11:07 ERROR (SyncWorker_6) [custom_components.yeelight_v2.python_yeelight.yeelight.main] timed out