lovelace - Coffeemaker card

This commit is contained in:
Thomas Lovén 2019-01-04 01:20:17 +01:00
parent e697058fe5
commit 3c4d087b46
2 changed files with 27 additions and 0 deletions

19
lovelace/coffee_card.yaml Normal file
View File

@ -0,0 +1,19 @@
type: entities
entities:
- type: custom:hui-picture-entity-card
entity: switch.kaffebryggare
image: !file /local/images/moccamaster.jpg
show_state: false
show_name: false
tap_action: { action: toggle }
- type: custom:fold-entity-row
head:
entity: switch.kaffebryggare
icon: mdi:coffee
items:
- input_boolean.cfe_on
- type: custom:time-input-row
entity: input_datetime.cfe_on
- type: section
- input_boolean.cfe_off
- input_number.cfe_off

View File

@ -1,4 +1,11 @@
title: Åvägen title: Åvägen
resources:
- url: !file /local/lovelace-card-tools/card-tools.js
type: js
- url: !file /local/lovelace-fold-entity-row/fold-entity-row.js
type: js
- url: !file /local/lovelace-time-input-row/time-input-row.js
type: js
views: views:
- title: Hemma2 - title: Hemma2
cards: cards:
@ -9,3 +16,4 @@ views:
action: call-service action: call-service
service: shell_command.lovelace_gen service: shell_command.lovelace_gen
- !include floorplan.yaml - !include floorplan.yaml
- !include coffee_card.yaml