lovelace - Add time-of-day card

This commit is contained in:
2019-01-15 23:06:31 +01:00
parent 1eb23b4b27
commit 039d1f7168
4 changed files with 33 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ views:
- !include cameras/barnrum.yaml
- !include cameras/kontor.yaml
- !include temperatures_card.yaml
- !include timeofday_card.yaml
{{ dev_card }}
- title: Floorplan

View File

@@ -0,0 +1,28 @@
type: entities
title: Tid
show_header_toggle: false
entities:
- entity: sensor.time
name: Tid
- entity: sensor.date
name: Datum
- type: section
label: Tid på dygnet
- entity: input_select.tod
name: ' '
- entity: input_datetime.tod_morning
name: Morgon
- entity: input_datetime.tod_day
name: Dag
- entity: input_datetime.tod_evening
name: Kväll
- entity: input_datetime.tod_night
name: Natt
- type: section
- entity: switch.tod_dark
name: Mörkt
- entity: input_number.tod_sunrise_offset
name: Soluppgång +/- (min)
- entity: input_number.tod_sunset_offset
name: Solnedgång +/- (min)