custom-cards / surveillance-card

A custom component for displaying camera feeds in the style of a surveillance system.
Apache License 2.0
244 stars 36 forks source link

TypeError: this._hass.states[currentCamera] is undefined #16

Closed codeclinic closed 4 years ago

codeclinic commented 5 years ago

The camera isnt loading (just a black card) and this is showing in my log:

TypeError: this._hass.states[currentCamera] is undefined

I have the following in raw config editor:

` - badges: [] cards:

niemyjski commented 4 years ago

This is a duplicate of #14

niemyjski commented 4 years ago

I also committed a safety fix for this but it can be caused by invalid camera configuration.