hasscc / yeelight-pro

💡 Yeelight Pro for Home Assistant
55 stars 6 forks source link

重启ha以后人在传感器无响应 #3

Open jay1943000 opened 1 year ago

jay1943000 commented 1 year ago

我不确定哪个日志和这个问题相关,所以只能把出现问题后的日志全部贴出来了

Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/http.py:52 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 04:12:11 (550 occurrences) Last logged: 11:10:17

[501605878176] Disconnected: Did not receive auth message within 10 seconds [501605891040] Disconnected: Did not receive auth message within 10 seconds [501590964304] Disconnected: Did not receive auth message within 10 seconds [501606773760] Disconnected: Did not receive auth message within 10 seconds [501606349264] Disconnected: Did not receive auth message within 10 seconds

此错误来自自定义集成。

Logger: custom_components.yeelight_pro.core.device Source: custom_components/yeelight_pro/core/device.py:106 Integration: Yeelight Pro (documentation, issues) First occurred: 04:11:47 (12 occurrences) Last logged: 11:13:46

Unsupported device: {'nt': 2, 'pid': 395264, 'id': 845970, 'n': '客厅窗帘北', 'type': 6} Unsupported device: {'nt': 2, 'pid': 395264, 'id': 845971, 'n': '客厅窗帘南', 'type': 6} Unsupported device: {'nt': 2, 'pid': 395264, 'id': 1329989, 'n': '儿童房窗帘', 'type': 6} Unsupported device: {'nt': 2, 'pid': 395264, 'id': 1341025, 'n': '老人房窗帘', 'type': 6} Unsupported device: {'nt': 2, 'pid': 395264, 'id': 1341117, 'n': '厨房遮烟帘', 'type': 6}

Logger: homeassistant Source: setup.py:378 First occurred: 04:12:08 (44 occurrences) Last logged: 11:19:37

Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/helpers/discovery_flow.py", line 71, in _async_start await gather_withconcurrency( File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/util/async.py", line 203, in gather_withconcurrency return await gather( File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/util/async.py", line 201, in sem_task return await task File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/data_entry_flow.py", line 229, in async_init flow, result = await task File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/data_entry_flow.py", line 247, in _async_init flow = await self.async_create_flow(handler, context=context, data=data) File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/config_entries.py", line 847, in async_create_flow await async_process_deps_reqs(self.hass, self._hass_config, integration) File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/setup.py", line 378, in async_process_deps_reqs raise DependencyError(failed_deps) homeassistant.exceptions.DependencyError: (DependencyError(...), 'Could not setup dependencies: bluetooth')

Logger: homeassistant.helpers.service Source: helpers/service.py:637 First occurred: 04:13:23 (104 occurrences) Last logged: 11:23:36

Unable to find referenced entities light.yct01_cloud_845963 or it is/they are currently not available Unable to find referenced entities light.yct01_cloud_845979 or it is/they are currently not available Unable to find referenced entities light.yct01_cloud_339611, light.yct01_cloud_339615 or it is/they are currently not available Unable to find referenced entities light.yct01_cloud_340984, light.yct01_cloud_644053 or it is/they are currently not available

Logger: aiohttp.server Source: /srv/homeassistant/lib/python3.10/site-packages/aiohttp/web_protocol.py:405 First occurred: 05:20:14 (2 occurrences) Last logged: 11:30:15

Error handling request Traceback (most recent call last): File "/srv/homeassistant/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"

Logger: homeassistant.components.number Source: components/number/init.py:534 Integration: 数值输入器 (documentation, issues) First occurred: 04:11:49 (120 occurrences) Last logged: 11:13:46

Entity number.yp3_1388483_delayoff (<class 'custom_components.yeelight_pro.number.DelayoffEntity'>) is using deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10, please report it to the custom integration author. Entity number.yp3_1644049_delayoff (<class 'custom_components.yeelight_pro.number.DelayoffEntity'>) is using deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10, please report it to the custom integration author. Entity number.yp3_1644050_delayoff (<class 'custom_components.yeelight_pro.number.DelayoffEntity'>) is using deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10, please report it to the custom integration author. Entity number.yp3_1644051_delayoff (<class 'custom_components.yeelight_pro.number.DelayoffEntity'>) is using deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10, please report it to the custom integration author. Entity number.yp3_1644055_delayoff (<class 'custom_components.yeelight_pro.number.DelayoffEntity'>) is using deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10, please report it to the custom integration author.

al-one commented 1 year ago

没有相关日志,请启用调试日志。 hass yeelight pro

zhouji0212 commented 1 year ago

不支持的设备?