Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]:Yeelight 皓石 LED吊灯 ---- light.yeelink_cn_582248838_ceiling10_s_2 无法开启 #159

Closed
foxwywh opened this issue Dec 18, 2024 · 2 comments · Fixed by #271
Closed
Assignees
Labels
bug Something isn't working

Comments

@foxwywh
Copy link

foxwywh commented Dec 18, 2024

Describe the bug / 描述问题

Yeelight 皓石 LED吊灯 wifi的,无法开启,查日志无相关内容

To Reproduce / 复现步骤

能重复

Expected behavior / 预期结果

尽快修复

Home Assistant Logs / 系统日志

搜索相关日志,没有发现,只有以下提示:
无法执行动作“light/turn_on” 。 执行错误, 内部错误, light.yeelink_cn_582248838_ceiling10_s_2, 灯, on

Home Assistant Core version / Home Assistant Core 版本

2024.12.3

Home Assistant Operation System version / Home Assistant Operation System 版本

2024.12.3

Xiaomi Home integration version / 米家集成版本

V0.1.0 V0.1.1

Additional context / 其他说明

@foxwywh foxwywh added the bug Something isn't working label Dec 18, 2024
@topsworld topsworld self-assigned this Dec 18, 2024
@topsworld
Copy link
Contributor

您好,麻烦复现下提供ha的日志用于问题排查

@houfukude
Copy link

我来提供一下日志吧 @topsworld

目前我手上两款 Yeelight 的吸顶灯(yeelink.light.ceiling23) (yeelink.light.ceiling22) 均无法控制

Traceback (most recent call last):
  File "/config/custom_components/xiaomi_home/miot/miot_device.py", line 855, in set_property_async
    await self.miot_device.miot_client.set_prop_async(
        did=self.miot_device.did, siid=prop.service.iid,
        piid=prop.iid, value=value)
  File "/config/custom_components/xiaomi_home/miot/miot_client.py", line 566, in set_prop_async
    raise MIoTClientError(
        self.__get_exec_error_with_rc(rc=rc))
custom_components.xiaomi_home.miot.miot_error.MIoTClientError: 执行错误, 内部错误
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2802, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2845, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1007, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
        hass, entity, func, data, call.context
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1079, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 628, in async_handle_light_on_service
    await light.async_turn_on(**filter_turn_on_params(light, params))
  File "/config/custom_components/xiaomi_home/light.py", line 265, in async_turn_on
    result = await self.set_property_async(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        prop=self._prop_on, value=value_on)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_home/miot/miot_device.py", line 859, in set_property_async
    raise RuntimeError(
        f'{e}, {self.entity_id}, {self.name}, {prop.name}') from e
RuntimeError: 执行错误, 内部错误, light.yeelink_cn_476314535_ceiling23_s_2,  灯, on

@topsworld topsworld linked a pull request Dec 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants