lovelace - Improved dev-mode card
This commit is contained in:
parent
f10b62c13c
commit
aca29db464
16
lovelace/dev_card.yaml
Normal file
16
lovelace/dev_card.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
type: glance
|
||||
title: Dev
|
||||
show_state: false
|
||||
entities:
|
||||
- entity: sensor.time
|
||||
name: Reload config
|
||||
icon: mdi:refresh
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: shell_command.lovelace_gen
|
||||
- entity: sensor.time
|
||||
name: States
|
||||
icon: mdi:tune
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /states
|
@ -1,3 +1,5 @@
|
||||
{% set dev_card="- !include dev_card.yaml" %}
|
||||
|
||||
title: Åvägen
|
||||
resources:
|
||||
- url: !file /local/lovelace-card-tools/card-tools.js
|
||||
@ -7,13 +9,16 @@ resources:
|
||||
- url: !file /local/lovelace-time-input-row/time-input-row.js
|
||||
type: js
|
||||
views:
|
||||
- title: Hemma2
|
||||
- title: Hemma
|
||||
cards:
|
||||
- type: entity-button
|
||||
entity: light.taklampa_kontoret
|
||||
name: Reload config
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: shell_command.lovelace_gen
|
||||
- !include floorplan.yaml
|
||||
- !include coffee_card.yaml
|
||||
{{ dev_card }}
|
||||
|
||||
- title: Floorplan
|
||||
panel: true
|
||||
cards:
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- !include floorplan.yaml
|
||||
{{ dev_card }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user