Merge pull request #697 from dermotduffy/devcontainer-improvements
Update the card devcontainer dashboard to use storage mode
This commit is contained in:
@@ -1,28 +0,0 @@
|
|||||||
---
|
|
||||||
default_config:
|
|
||||||
|
|
||||||
logger:
|
|
||||||
default: error
|
|
||||||
logs:
|
|
||||||
custom_components.frigate: debug
|
|
||||||
homeassistant.components.mqtt: error
|
|
||||||
|
|
||||||
downloader:
|
|
||||||
download_dir: www
|
|
||||||
|
|
||||||
homeassistant:
|
|
||||||
name: Home
|
|
||||||
latitude: 0
|
|
||||||
longitude: 0
|
|
||||||
elevation: 0
|
|
||||||
unit_system: metric
|
|
||||||
currency: USD
|
|
||||||
time_zone: 'America/Los_Angeles'
|
|
||||||
|
|
||||||
demo:
|
|
||||||
|
|
||||||
lovelace:
|
|
||||||
mode: yaml
|
|
||||||
resources:
|
|
||||||
- url: http://localhost:41000/frigate-hass-card.js
|
|
||||||
type: module
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
views:
|
|
||||||
- cards:
|
|
||||||
- type: custom:frigate-card
|
|
||||||
name: Frigate Card with Frigate Camera
|
|
||||||
cameras:
|
|
||||||
- camera_entity: camera.demo
|
|
||||||
live_provider: frigate-jsmpeg
|
|
||||||
id: camera_demo_jsmpeg
|
|
||||||
- camera_entity: camera.demo
|
|
||||||
live_provider: ha
|
|
||||||
id: camera_demo_ha
|
|
||||||
- type: custom:frigate-card
|
|
||||||
name: Frigate Card with non-Frigate Camera
|
|
||||||
cameras:
|
|
||||||
- camera_entity: camera.demo_camera
|
|
||||||
@@ -15,8 +15,7 @@ services:
|
|||||||
file: ./frigate-hass-integration/docker-compose.yml
|
file: ./frigate-hass-integration/docker-compose.yml
|
||||||
service: hass
|
service: hass
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/ui-lovelace.yaml:/config/ui-lovelace.yaml:ro
|
- ./preconfig:/preconfig.d/02-card:ro
|
||||||
- ./config/configuration.yaml:/config/configuration.yaml:ro
|
|
||||||
frigate:
|
frigate:
|
||||||
extends:
|
extends:
|
||||||
file: ./frigate-hass-integration/docker-compose.yml
|
file: ./frigate-hass-integration/docker-compose.yml
|
||||||
|
|||||||
Submodule .devcontainer/frigate-hass-integration updated: 0218f56165...6292407601
@@ -0,0 +1,104 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"minor_version": 1,
|
||||||
|
"key": "lovelace",
|
||||||
|
"data": {
|
||||||
|
"config": {
|
||||||
|
"title": "Frigate Card",
|
||||||
|
"views": [
|
||||||
|
{
|
||||||
|
"theme": "Backend-selected",
|
||||||
|
"title": "Basic",
|
||||||
|
"path": "basic",
|
||||||
|
"badges": [],
|
||||||
|
"cards": [
|
||||||
|
{
|
||||||
|
"type": "custom:frigate-card",
|
||||||
|
"name": "Frigate Card with Frigate Camera",
|
||||||
|
"cameras": [
|
||||||
|
{
|
||||||
|
"camera_entity": "camera.big_buck_bunny",
|
||||||
|
"live_provider": "frigate-jsmpeg",
|
||||||
|
"id": "big_buck_bunny_jsmpeg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"camera_entity": "camera.big_buck_bunny",
|
||||||
|
"live_provider": "ha",
|
||||||
|
"id": "big_buck_bunny_ha"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"camera_entity": "camera.demo_camera"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"theme": "Backend-selected",
|
||||||
|
"title": "Menu",
|
||||||
|
"path": "menu",
|
||||||
|
"badges": [],
|
||||||
|
"cards": [
|
||||||
|
{
|
||||||
|
"type": "custom:frigate-card",
|
||||||
|
"cameras": [
|
||||||
|
{
|
||||||
|
"camera_entity": "camera.demo_camera",
|
||||||
|
"title": "Default"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "custom:frigate-card",
|
||||||
|
"cameras": [
|
||||||
|
{
|
||||||
|
"camera_entity": "camera.demo_camera",
|
||||||
|
"title": "Hidden"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"menu": {
|
||||||
|
"style": "hidden"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "custom:frigate-card",
|
||||||
|
"cameras": [
|
||||||
|
{
|
||||||
|
"camera_entity": "camera.demo_camera",
|
||||||
|
"title": "Overlay"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"menu": {
|
||||||
|
"style": "overlay"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "custom:frigate-card",
|
||||||
|
"cameras": [
|
||||||
|
{
|
||||||
|
"camera_entity": "camera.demo_camera",
|
||||||
|
"title": "Hover"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"menu": {
|
||||||
|
"style": "hover"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "custom:frigate-card",
|
||||||
|
"cameras": [
|
||||||
|
{
|
||||||
|
"camera_entity": "camera.demo_camera",
|
||||||
|
"title": "Outside"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"menu": {
|
||||||
|
"style": "outside"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"minor_version": 1,
|
||||||
|
"key": "lovelace_resources",
|
||||||
|
"data": {
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"url": "http://localhost:41000/frigate-hass-card.js",
|
||||||
|
"type": "module",
|
||||||
|
"id": "00c459541bac4290af01c51bf9c06ba1"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user