lovelace - Move time-of-day card to dev view

This commit is contained in:
Thomas Lovén 2019-01-25 10:10:08 +01:00
parent b3c5fdc7f4
commit 683e172ef6
2 changed files with 12 additions and 3 deletions

View File

@ -5,18 +5,23 @@ resources: !include resources.yaml
views: views:
- title: Hemma - title: Hemma
cards: cards:
{{ dev_card }}
- !include floorplan.yaml - !include floorplan.yaml
- !include coffee_card.yaml - !include coffee_card.yaml
- !include cameras/barnrum.yaml - !include cameras/barnrum.yaml
- !include cameras/kontor.yaml - !include cameras/kontor.yaml
- !include temperatures_card.yaml - !include temperatures_card.yaml
- !include timeofday_card.yaml
{{ dev_card }}
- title: Floorplan - title: Floorplan
panel: true panel: true
cards: cards:
- type: vertical-stack - type: vertical-stack
cards: cards:
- !include floorplan.yaml
{{ dev_card }} {{ dev_card }}
- !include floorplan.yaml
- title: Dev
path: dev
icon: mdi:settings
cards:
{{ dev_card }}
- !include timeofday_card.yaml

View File

@ -12,12 +12,16 @@ entities:
name: ' ' name: ' '
- entity: input_datetime.tod_morning - entity: input_datetime.tod_morning
name: Morgon name: Morgon
type: custom:time-input-row
- entity: input_datetime.tod_day - entity: input_datetime.tod_day
name: Dag name: Dag
type: custom:time-input-row
- entity: input_datetime.tod_evening - entity: input_datetime.tod_evening
name: Kväll name: Kväll
type: custom:time-input-row
- entity: input_datetime.tod_night - entity: input_datetime.tod_night
name: Natt name: Natt
type: custom:time-input-row
- type: section - type: section
- entity: switch.tod_dark - entity: switch.tod_dark