lovelace - Add a dev view
This commit is contained in:
parent
35522323f5
commit
d9dacab3c0
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,5 +9,6 @@
|
|||||||
/appdaemon/*
|
/appdaemon/*
|
||||||
!/appdaemon/apps
|
!/appdaemon/apps
|
||||||
*.json
|
*.json
|
||||||
|
*.hidden.*
|
||||||
|
|
||||||
!/lovelace/
|
!/lovelace/
|
||||||
|
@ -19,9 +19,4 @@ views:
|
|||||||
cards:
|
cards:
|
||||||
{{ dev_card }}
|
{{ dev_card }}
|
||||||
- !include floorplan.yaml
|
- !include floorplan.yaml
|
||||||
- title: Dev
|
- !include views/dev_view.yaml
|
||||||
path: dev
|
|
||||||
icon: mdi:settings
|
|
||||||
cards:
|
|
||||||
{{ dev_card }}
|
|
||||||
- !include timeofday_card.yaml
|
|
||||||
|
@ -8,3 +8,5 @@
|
|||||||
type: js
|
type: js
|
||||||
- url: !file /local/lovelace-slider-entity-row/slider-entity-row.js
|
- url: !file /local/lovelace-slider-entity-row/slider-entity-row.js
|
||||||
type: js
|
type: js
|
||||||
|
- url: !file /local/lovelace-auto-entities/auto-entities.js
|
||||||
|
type: js
|
||||||
|
63
lovelace/views/dev_view.yaml
Normal file
63
lovelace/views/dev_view.yaml
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
title: Dev
|
||||||
|
path: dev
|
||||||
|
icon: mdi:settings
|
||||||
|
cards:
|
||||||
|
- !include dev_card.yaml
|
||||||
|
- !include timeofday_card.yaml
|
||||||
|
- !include local_services.hidden.yaml
|
||||||
|
- type: custom:auto-entities
|
||||||
|
card:
|
||||||
|
type: entities
|
||||||
|
title: Tända lampor
|
||||||
|
filter:
|
||||||
|
include:
|
||||||
|
- domain: light
|
||||||
|
state: "on"
|
||||||
|
exclude:
|
||||||
|
- attributes:
|
||||||
|
hidden: true
|
||||||
|
- type: custom:auto-entities
|
||||||
|
card:
|
||||||
|
type: entities
|
||||||
|
title: Släckta lampor
|
||||||
|
filter:
|
||||||
|
include:
|
||||||
|
- domain: light
|
||||||
|
state: "off"
|
||||||
|
exclude:
|
||||||
|
- attributes:
|
||||||
|
hidden: true
|
||||||
|
- type: custom:auto-entities
|
||||||
|
card:
|
||||||
|
type: entities
|
||||||
|
title: Lampor/Brytare
|
||||||
|
filter:
|
||||||
|
include:
|
||||||
|
- domain: light
|
||||||
|
options:
|
||||||
|
secondary_info: entity-id
|
||||||
|
- domain: switch
|
||||||
|
options:
|
||||||
|
secondary_info: entity-id
|
||||||
|
- type: custom:auto-entities
|
||||||
|
card:
|
||||||
|
type: entities
|
||||||
|
title: Batterier
|
||||||
|
filter:
|
||||||
|
include:
|
||||||
|
- attributes:
|
||||||
|
device_class: "battery"
|
||||||
|
options:
|
||||||
|
secondary_info: entity-id
|
||||||
|
- type: custom:auto-entities
|
||||||
|
card:
|
||||||
|
type: entities
|
||||||
|
title: Övriga Sensorer
|
||||||
|
filter:
|
||||||
|
include:
|
||||||
|
- domain: sensor
|
||||||
|
options:
|
||||||
|
secondary_info: entity-id
|
||||||
|
exclude:
|
||||||
|
- attributes:
|
||||||
|
device_class: "battery"
|
Loading…
x
Reference in New Issue
Block a user