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

Allow view to work in offline mode #34

Open kkellner opened 3 years ago

kkellner commented 3 years ago

I have a tablet that does not have internet access that is trying to display a lovelace view which use surveillance-card but it fails. It looks like the surveillance-card.js is using external resources that are not hosting within home assistant itself. Specifically:

https://unpkg.com/lit-element@2.3.1/lit-element.js?module

All other home assistant UIs are working fine in offline (not internet access) mode. Would like to use a view that uses surveillance-card in offline mode as well.

niemyjski commented 3 years ago

We'd be willing to accept a pr for this!