mikejgray / neon-homeassistant-skill

A Neon AI Skill for Home Assistant, which integrates with ovos-PHAL-plugin-homeassistant.
Apache License 2.0
7 stars 4 forks source link

Handler for show area dashboard pulls from incorrect message path #10

Closed mikejgray closed 1 year ago

mikejgray commented 1 year ago
~~~~_custom_conversation:converse:2955 - INFO - No script for local, pass: ['tell me joke', 'tell me joke', 'show me joke', 'tell me a joke', 'tell me a joke.', 'show me a joke']
 21:06:35.363 - skills - ovos_workshop.skills.base:_on_event_error:1230 - ERROR - 'Message' object has no attribute 'get'
Traceback (most recent call last):
  File "/home/neon/venv/lib/python3.7/site-packages/ovos_utils/messagebus.py", line 351, in wrapper
    handler(message)
  File "/home/neon/venv/lib/python3.7/site-packages/neon_homeassistant_skill/__init__.py", line 201, in handle_show_area_dashboard_intent
    area = message.get("area")
AttributeError: 'Message' object has no attribute 'get'
 21:06:35.388 - audio - mycroft.audio.service:execute_tts:309 - INFO - Speak: An error occurred while processing a request in Neon Home Assistant Skill