Skip to content

No longer able to set up the blink camera component #20335

Closed
@jwater7

Description

Home Assistant release with the issue:

0.85.1

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.):

Docker

Component/platform:

https://www.home-assistant.io/components/camera.blink/

Description of problem:
With no changes to version or configuration, HA is no longer able to set up the blink camera and an "invalid config" notification is displayed on the UI with the message:

The following components and platforms could not be set up:
blink
Please check your config.

I tried upgrading to version 0.85.1 with no fix for the issue. I have a hunch that the Blink API changed.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

blink:
  username: !secret blink_username
  password: !secret blink_password

Traceback (if applicable):

Traceback (most recent call last):
  File "/usr/src/app/homeassistant/setup.py", line 148, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/blink/__init__.py", line 100, in setup
    hass.data[BLINK_DATA].start()
  File "/usr/local/lib/python3.6/site-packages/blinkpy/blinkpy.py", line 83, in start
    sync_module.start()
  File "/usr/local/lib/python3.6/site-packages/blinkpy/sync_module.py", line 99, in start
    self.videos = self.get_videos()
  File "/usr/local/lib/python3.6/site-packages/blinkpy/sync_module.py", line 148, in get_videos
    camera_name = entry['camera_name']
TypeError: string indices must be integers

Additional information:

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions