Create garage_door_card.yaml
This commit is contained in:
parent
a292676d9e
commit
03d2b643a0
|
@ -0,0 +1,78 @@
|
|||
type: custom:button-card
|
||||
entity: cover.garagedoor1
|
||||
name: Garage Door 1
|
||||
state:
|
||||
- value: closed
|
||||
icon: mdi:garage-variant
|
||||
color: rgb(86, 193, 192)
|
||||
styles:
|
||||
state:
|
||||
- color: rgb(32, 145, 90)
|
||||
- text-shadow: 0px 0px 2px rgb(32, 145, 90)
|
||||
- value: open
|
||||
icon: mdi:garage-open-variant
|
||||
color: rgb(63, 197, 184)
|
||||
styles:
|
||||
state:
|
||||
- color: red
|
||||
- text-shadow: 0px 0px 5px rgb(37, 159, 147)
|
||||
- animation:
|
||||
- blink 1s linear infinite
|
||||
size: 100%
|
||||
tap_action:
|
||||
action: toggle
|
||||
styles:
|
||||
card:
|
||||
- filter: opacity(100%)
|
||||
height: 220px
|
||||
padding: 0px 0px
|
||||
name:
|
||||
- color: white
|
||||
- padding: 0px 0px 11px
|
||||
- font-size: 24px
|
||||
- font-family: Arial
|
||||
state:
|
||||
- padding: 0px 0px 7px 0px
|
||||
- font-size: 22px
|
||||
- font-family: Arial
|
||||
- font-style: bold
|
||||
show_state: true
|
||||
type: custom:button-card
|
||||
entity: cover.garagedoor2
|
||||
name: Garage Door 2
|
||||
state:
|
||||
- value: closed
|
||||
icon: mdi:garage
|
||||
color: rgb(86, 193, 192)
|
||||
styles:
|
||||
state:
|
||||
- color: rgb(32, 145, 90)
|
||||
- text-shadow: 0px 0px 2px rgb(32, 145, 90)
|
||||
- value: open
|
||||
icon: mdi:garage-open
|
||||
color: rgb(63, 197, 184)
|
||||
styles:
|
||||
state:
|
||||
- color: red
|
||||
- text-shadow: 0px 0px 5px rgb(37, 159, 147)
|
||||
- animation:
|
||||
- blink 1s linear infinite
|
||||
size: 100%
|
||||
tap_action:
|
||||
action: toggle
|
||||
styles:
|
||||
card:
|
||||
- filter: opacity(100%)
|
||||
height: 220px
|
||||
padding: 0px 0px
|
||||
name:
|
||||
- color: white
|
||||
- padding: 0px 0px 11px
|
||||
- font-size: 24px
|
||||
- font-family: Arial
|
||||
state:
|
||||
- padding: 0px 0px 7px 0px
|
||||
- font-size: 22px
|
||||
- font-family: Arial
|
||||
- font-style: bold
|
||||
show_state: true
|
Loading…
Reference in New Issue