diff --git a/lovelace/dev_card.yaml b/lovelace/dev_card.yaml new file mode 100644 index 0000000..e42dc47 --- /dev/null +++ b/lovelace/dev_card.yaml @@ -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 diff --git a/lovelace/main.yaml b/lovelace/main.yaml index bab429e..13b325f 100644 --- a/lovelace/main.yaml +++ b/lovelace/main.yaml @@ -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 }}