core: Seeing log error for cameras requires stream component for AlexaCameraStreamController when Alexa has no cameras

The problem

This error showed up in my log this morning: Screen Shot 2020-04-11 at 10 47 29 AM I don’t know what exactly causes it or what its trying to do but I have a specific list of 3 entities in my include list for the alexa integration and none are cameras. I don’t want Alexa doing anything with my cameras or having any access to them, streaming or otherwise.

Environment

  • Home Assistant Core release with the issue: 0.108.3
  • Last working Home Assistant Core release (if known): Unknown but I added Alexa integration sometime while on 0.107 so after that.
  • Operating environment (Home Assistant/Supervised/Docker/venv): Docker
  • Integration causing this issue: Alexa
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/alexa.smart_home/

Problem-relevant configuration.yaml

smart_home:
  locale: en-US
  endpoint: https://api.amazonalexa.com/v3/events
  client_id: !secret alexa_client_id
  client_secret: !secret alexa_client_secret
  filter:
    include_entities:
    - binary_sensor.pensieve_outlet_switch
    - binary_sensor.burrow_outlet_switch
    - binary_sensor.bedroom_tv_outlet_switch

As you can see, I use the include list (thus excluding everything else) and none of those are the cameras mentioned in the log.

Traceback/Error logs

2020-04-11 04:05:24 ERROR (MainThread) [homeassistant.components.alexa.entities] camera.kylee_street_view requires stream component for AlexaCameraStreamController
2020-04-11 04:05:24 ERROR (MainThread) [homeassistant.components.alexa.entities] camera.mike_street_view requires stream component for AlexaCameraStreamController
2020-04-11 04:05:24 ERROR (MainThread) [homeassistant.components.alexa.entities] camera.front_door requires stream component for AlexaCameraStreamController
2020-04-11 04:05:24 ERROR (MainThread) [homeassistant.components.alexa.entities] camera.family_room requires stream component for AlexaCameraStreamController
2020-04-11 04:05:24 ERROR (MainThread) [homeassistant.components.alexa.entities] camera.kitchen requires stream component for AlexaCameraStreamController

Additional information

The error appeared one time per camera in my house and hasn’t shown up again. I would like the log to go away but my primary concern here is access. I definitely do not want my camera feeds streaming to alexa.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (10 by maintainers)

Most upvoted comments

No need to check the configuration. You’re correct lists validate without the additional indentation.

I confirmed the error exist without any cameras in the include list. I’m working on the fix now.

Regarding your primary concern, the cameras are not exposed in the discovery response regardless of the error. Therefore Alexa API never knew of them. In addition, when they are correctly exposed the stream connection is initiated from your echo device directly to your HA instance.