MycroftAI / skill-homeassistant

Mycroft Skill/Integration for Homeassistant
GNU Lesser General Public License v3.0
115 stars 62 forks source link

Skill is unable to find cover entities #97

Closed radicalmachine closed 2 years ago

radicalmachine commented 2 years ago

Describe the bug When asking to open or close cover entities, Mycroft does not understand the command. Light and switch entities work great.

To Reproduce Ask Mycroft to open or close an existing cover entity in Home Assistant

Expected behavior I had hoped the skill would understand the utterance. The entity is named 'garage door' but this isn't recognised. Perhaps I am doing something simple wrong.

Log files 2021-12-01 12:54:44.482 | INFO | 795 | mycroft.session:get:74 | New Session Start: 9fc37c0c-dd65-412e-869f-bc9238a478e7 2021-12-01 12:54:44.484 | INFO | 795 | main:handle_wakeword:71 | Wakeword Detected: hey mycroft

==> skills.log <== 2021-12-01 12:54:44.493 | INFO | 789 | ReSpeaker_4mic_hat | Pixel Ring: Wakeup 2021-12-01 12:54:44.493 | INFO | 789 | TimerSkill | stopping repeating event to check for timer expiration

==> voice.log <== Playing WAVE '/home/pi/mycroft-core/mycroft/res/snd/start_listening.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo 2021-12-01 12:54:44.983 | INFO | 795 | main:handle_record_begin:41 | Begin Recording... 2021-12-01 12:54:46.986 | INFO | 795 | main:handle_record_end:49 | End Recording...

==> skills.log <== 2021-12-01 12:54:47.016 | INFO | 789 | ReSpeaker_4mic_hat | Pixel Ring: Off

==> voice.log <== 2021-12-01 12:54:48.071 | INFO | 795 | main:handle_utterance:76 | Utterance: ['open the garage door']

==> skills.log <== 2021-12-01 12:54:48.174 | INFO | 789 | ReSpeaker_4mic_hat | Pixel Ring: Think 2021-12-01 12:54:48.219 | INFO | 789 | ReSpeaker_4mic_hat | Pixel Ring: Off 2021-12-01 12:54:48.232 | INFO | 789 | QuestionsAnswersSkill | Searching for open the garage door 2021-12-01 12:54:48.239 | INFO | 789 | ReSpeaker_4mic_hat | Pixel Ring: Think 2021-12-01 12:54:49.402 | INFO | 789 | QuestionsAnswersSkill | Timeout occured check responses 2021-12-01 12:54:50.250 | INFO | 789 | ReSpeaker_4mic_hat | Pixel Ring: Off 2021-12-01 12:54:50.292 | INFO | 789 | ReSpeaker_4mic_hat | Pixel Ring: Think

==> audio.log <== 2021-12-01 12:54:50.303 | INFO | 792 | mycroft.audio.speech:mute_and_speak:127 | Speak: I'm sorry, , I can't do that right now. This conversation no longer serves any purpose. 2021-12-01 12:54:50.311 | INFO | 792 | mycroft.tts.tts:_get_sentence_from_cache:392 | Found 35a05a0daca65a4a30059bd228cbf1ee.mp3 in TTS cache High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.25.10; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes

==> skills.log <== 2021-12-01 12:54:50.342 | INFO | 789 | ReSpeaker_4mic_hat | Pixel Ring: Off 2021-12-01 12:54:50.343 | INFO | 789 | ReSpeaker_4mic_hat | Pixel Ring: Speak

==> audio.log <==

Directory: /tmp/mycroft/cache/tts/GoogleTTS/ Playing MPEG stream 1 of 1: 35a05a0daca65a4a30059bd228cbf1ee.mp3 ...

MPEG 2.0 L III cbr32 24000 mono ^C

You may also include screenshots, however screenshots of log files are often difficult to read and parse.

If you are running Mycroft, the Support Skill helps to automate gathering this information. Simply say "Create a support ticket" and the Skill will put together a support package and email it to you.

Environment (please complete the following information):

Tony763 commented 2 years ago

Hi @radicalmachine which version of HA skill you use? Installed by MSM or form github?

radicalmachine commented 2 years ago

Installed via MSM - do I need to install this direct from Github?

Tony763 commented 2 years ago

Version in MSM is not yet updated as we have conflict with Were is skill. PR to fix conflict is almost done, it need some cosmetic fixes that I will hopefully do till end of this week. When it's done and merged, version in MSM will be updated.

So You can wait for it or install actual version from there :slightly_smiling_face:

radicalmachine commented 2 years ago

Grand - thanks for your help Tony