core: Alexa does not discover devices unless "fan" domain is excluded when MQTT fans are configured

The problem

The Alexa integration could not discover any devices until I removed the “fan” domain from my configuration.yaml “include_domains” list. The HA logs did not show any errors. Using an Alexa Smart Home Skill built per the instructions here: https://www.home-assistant.io/integrations/alexa.smart_home/ The Lambda function test successfully discovered devices, however the Alexa Skill returned “No New Devices Found” After modifying the “include_domains” list by removing fan, the skill found all devices. I was pointed to this solution by another user on Discord who recently had a similar issue using the Nabu Casa cloud solution.

What is version of Home Assistant Core has the issue?

core-2021.7.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

Alexa

Link to integration documentation on our website

https://www.home-assistant.io/integrations/alexa

Example YAML snippet

alexa:
  smart_home:
    locale: en-US
    endpoint: https://api.amazonalexa.com/v3/events
    client_id: !secret alexa_id
    client_secret: !secret alexa_secret
    filter:
      include_domains:
        - switch
        - light
        - sensor
        - climate
        - binary_sensor
        - fan

Anything in the logs that might be useful for us?

(No indication of error in logs)

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 26 (10 by maintainers)

Most upvoted comments

The error is caused by Alexa not accepting only one preset mode. A fix is in progress.

@emontnemery I will upgrade this weekend to 2021.9.x this weekend and report back. The the fans I have are all MQTT and all set up the same.