Advertisement
acegiak

Untitled

May 19th, 2025
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. ==> /home/ovos/.local/state/mycroft/skills.log <==
  2. 2025-05-19 11:59:06.744 - skill_homeassistant.oscillatelabsllc - ERROR - list index out of range
  3. Traceback (most recent call last):
  4. File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_utils/events.py", line 78, in wrapper
  5. handler(message)
  6. File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/skill_homeassistant/__init__.py", line 192, in handle_turn_on_intent
  7. response = self.ha_client.handle_turn_on(Message("", {"device": device}))
  8. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  9. File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/skill_homeassistant/ha_client/__init__.py", line 229, in handle_turn_on
  10. device_id, spoken_device = self._gather_device_id(message)
  11. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  12. File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/skill_homeassistant/ha_client/__init__.py", line 268, in _gather_device_id
  13. device_id = self.fuzzy_match_name(self.registered_devices, device, self.registered_device_names)
  14. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  15. File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/skill_homeassistant/ha_client/__init__.py", line 422, in fuzzy_match_name
  16. device, score = match_one(spoken_name, device_names)
  17. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  18. File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_utils/parse.py", line 84, in match_one
  19. return match_all(query, choices, match_func, strategy, ignore_case)[0]
  20. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
  21. IndexError: list index out of range
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement