lovelace - Improved dev-mode card

This commit is contained in:
thomas committed 2019-01-08 22:53:31 +01:00
1 parent f10b62c13c
commit aca29db464
2 files changed
+28 -7

No files matched your search

+16
View 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
+12 -7
View File
@@ -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 }}