Skip to content

Commit

Permalink
command_endpoints/ha_ws: try WAC on no_valid_targets
Browse files Browse the repository at this point in the history
  • Loading branch information
stintel committed Feb 9, 2024
1 parent 426f8c0 commit 7e0ccca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/internal/command_endpoints/ha_ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async def cb_msg(self, msg):

elif response_type == "error":
response_code = json_get(msg, "/event/data/intent_output/response/data/code")
if response_code == "no_intent_match":
if response_code in ["no_intent_match", "no_valid_targets"]:
self.log.debug(self.connmap[id])

if self.app.wac_enabled:
Expand Down

0 comments on commit 7e0ccca

Please sign in to comment.