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]: tts问题 #97

Closed
foxwywh opened this issue Dec 17, 2024 · 2 comments · Fixed by #271
Closed

[Bug]: tts问题 #97

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

Comments

@foxwywh
Copy link

foxwywh commented Dec 17, 2024

Describe the bug / 描述问题

两个家,两台ha,两个网段并且通过广域网组成一个“局域网”,小爱tts其中有一个会报错。

To Reproduce / 复现步骤

无法执行动作“text.set_value” 。 Unknown error

Expected behavior / 预期结果

希望修复

Home Assistant Logs / 系统日志

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

Additional context / 其他说明

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

您好!请发一下复现问题时的Home Assistant日志。

@foxwywh
Copy link
Author

foxwywh commented Dec 18, 2024

日志记录器: homeassistant.helpers.script.websocket_api_script
来源: /usr/src/homeassistant/homeassistant/helpers/script.py:2030
首次出现: 20:14:46 (1 次总计出现)
上次记录: 20:14:46

websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 执行错误, 内部错误, text.xiaomi_cn_604264054_lx06_play_text_a_5_1, 智能音箱 播放文本
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 526, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 764, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 727, in _async_run_long_action
return await long_task
^^^^^^^^^^^^^^^
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 1032, in entity_service_call
raise result from None
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1628, in async_request_call
return await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1079, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/text/init.py", line 81, in _async_set_value
await entity.async_set_value(value)
File "/config/custom_components/xiaomi_home/text.py", line 153, in async_set_value
if await self.action_async(in_list=in_value):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_home/miot/miot_device.py", line 1285, in action_async
raise RuntimeError(f'{e}, {self.entity_id}, {self.name}') from e
RuntimeError: 执行错误, 内部错误, text.xiaomi_cn_604264054_lx06_play_text_a_5_1, 智能音箱 播放文本

@topsworld topsworld assigned topsworld and unassigned SusanPhevos Dec 20, 2024
@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