mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
设置状态返回内容修正
This commit is contained in:
parent
ab2f996c7b
commit
3b6c1fbc6d
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ def hass_set_state(conn, entity_id='', state={}):
|
|||
conn.loop
|
||||
)
|
||||
ha_response = future.result()
|
||||
return ActionResponse(action=Action.REQLLM, result="执行成功", response=ha_response)
|
||||
return ActionResponse(Action.REQLLM, ha_response, None)
|
||||
except Exception as e:
|
||||
logger.bind(tag=TAG).error(f"处理设置属性意图错误: {e}")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue