I have a quite a few.
Formatted for desktop:
button_card_templates:
binary_sensor_button:
aspect_ratio: 4/3
hold_action:
action: none
label: |
[[[ entity.last_changed ]]]
show_last_changed: true
show_name: true
show_state: true
state:
- styles:
icon:
- color: var(--paper-item-icon-active-color)
state:
- color: var(--paper-item-icon-active-color)
value: >
[[[ return entity.attributes.value && entity.attributes.value in [
'on', 'disarmed','home'] ]]]
- styles:
state:
- color: var(--secondary-text-color)
value: 'off'
- icon: mdi:alert
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: none
icon:
- color: '#ff0000'
- opacity: 0.4
label:
- color: '#7f7f7f'
name:
- color: '#7f7f7f'
value: unavailable
styles:
card:
- box-shadow: none
- border-radius: 10px
- padding: 6px 6px 6px 6px
- margin: 0% 0% 0% 0%
- '--ha-card-background': rgba(0, 0, 0, 0)
grid:
- grid-template-areas: '"n n n" "i s s" "l l l"'
- grid-template-rows: auto 33% auto
- grid-template-columns: 33% auto auto
icon:
- width: 28px
- padding: 0px 0px 0px 0px
- margin: 0% 0% 0% 0%
label:
- justify-self: left
- font-size: 12px
- padding: 0px 0px 0px 0px
- color: var(--secondary-text-color)
name:
- justify-self: left
- font-size: 14px
- padding: 0px 0px 0px 0px
- color: var(--primary-text-color)
state:
- justify-self: left
- font-size: 12px
- padding: 0px 0px 0px 3px
- color: var(--secondary-text-color)
tap_action:
action: more-info
day_button:
color_type: icon
hold_action:
action: none
show_label: false
show_name: true
show_state: false
state:
- icon: mdi:checkbox-marked-circle
styles:
card:
- border: solid 1px var(--paper-item-icon-active-color)
- box-shadow: 0px 0px 10px 3px var(--paper-item-icon-active-color)
name:
- color: var(--primary-text-color)
value: 'on'
- icon: mdi:cancel
styles: null
value: 'off'
styles:
card:
- border-radius: 10px
- border: solid 1px var(--primary-color)
- box-shadow: none
- padding: 6px 0px
- margin: 0px 0px
- '--ha-card-background': rgba(0, 0, 0, 0)
grid:
- grid-template-areas: '"i" "n"'
- grid-template-rows: 33% auto
- grid-template-columns: auto
icon:
- width: 28px
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px
- color: var(--secondary-text-color)
tap_action:
action: toggle
dehum_button:
aspect_ratio: 4/3
color_type: icon
hold_action:
action: more-info
haptic: selection
show_label: false
show_name: true
show_state: true
state:
- styles:
card:
- border: solid 1px var(--primary-color)
- box-shadow: none
icon:
- color: var(--button-card-light-color)
value: 'Off'
- icon: mdi:alert
label: Lost
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: none
icon:
- color: '#ff0000'
- opacity: 0.6
label:
- color: '#7f7f7f'
name:
- color: '#7f7f7f'
value: unavailable
styles:
card:
- border: solid 1px var(--paper-item-icon-active-color)
- box-shadow: 0px 0px 10px 3px var(--paper-item-icon-active-color)
- border-radius: 10px
- padding: 6px 6px 6px 6px
- margin: 0% 0% 0% 0%
- '--ha-card-background': rgba(0, 0, 0, 0)
grid:
- grid-template-areas: '"i s s" "n n n"'
- grid-template-rows: 33% auto
- grid-template-columns: 33% auto
icon:
- color: var(--paper-item-icon-active-color)
- width: 28px
- padding: 0px 0px 0px 0px
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px 0px 0px
- color: var(--primary-text-color)
- white-space: normal
state:
- font-size: 12px
- justify-self: right
- padding: 0px 0px 0px 0px
- color: var(--secondary-text-color)
icon_button:
aspect_ratio: 4/3
color_type: icon
hold_action:
action: none
layout: vertical
show_label: false
show_name: false
show_state: false
styles:
card:
- border-radius: 10px
- border: solid 1px var(--primary-color)
- box-shadow: none
- padding: 6px 6px
- margin: 0px 0px
- '--ha-card-background': rgba(0, 0, 0, 0)
icon:
- width: 28px
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px
- color: var(--secondary-text-color)
tap_action:
action: call-service
light_button:
aspect_ratio: 4/3
color_type: icon
hold_action:
action: more-info
haptic: selection
label: >
[[[ var bri = entity.attributes.brightness &&
Math.round(entity.attributes.brightness / 2.55); if
(entity.state === 'on') return (bri ? (bri+"%") : 'On'); else return "Off"; ]]]
layout: icon_label
show_label: true
show_name: true
state:
- styles:
card:
- border: solid 1px var(--paper-item-icon-active-color)
- box-shadow: 0px 0px 10px 3px var(--paper-item-icon-active-color)
label:
- color: var(--paper-item-icon-active-color)
value: 'on'
- styles:
card:
- border: solid 1px var(--primary-color)
- box-shadow: none
value: 'off'
- icon: mdi:alert
label: Lost
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: none
icon:
- color: '#ff0000'
- opacity: 0.4
label:
- color: '#7f7f7f'
name:
- color: '#7f7f7f'
value: unavailable
styles:
card:
- border-radius: 10px
- padding: 6px 6px 6px 6px
- margin: 0% 0% 0% 0%
- '--ha-card-background': rgba(0, 0, 0, 0)
grid:
- grid-template-areas: '"i l l" "n n n"'
- grid-template-rows: 33% auto
- grid-template-columns: 33% auto
icon:
- width: 28px
- padding: 0px 0px 0px 0px
- color: var(--button-card-light-color-no-temperature)
label:
- font-size: 12px
- justify-self: right
- padding: 0px 0px 0px 0px
- color: var(--secondary-text-color)
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px 0px 0px
- color: var(--primary-text-color)
- white-space: normal
tap_action:
action: toggle
menu_button:
aspect_ratio: 4/3
color_type: icon
hold_action:
action: none
layout: vertical
show_label: false
show_name: true
show_state: false
styles:
card:
- border-radius: 10px
- border: solid 1px var(--primary-color)
- box-shadow: none
- padding: 6px 6px
- margin: 0px 0px
- '--ha-card-background': rgba(0, 0, 0, 0)
icon:
- width: 28px
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px
- color: var(--secondary-text-color)
tap_action:
action: call-service
picture_button:
aspect_ratio: 4/3
color_type: icon
hold_action:
action: none
layout: vertical
show_entity_picture: true
show_icon: false
show_label: false
show_name: false
show_state: false
styles:
card:
- border-radius: 10px
- border: solid 1px var(--primary-color)
- box-shadow: none
- padding: 6px 6px
- margin: 0px 0px
- '--ha-card-background': rgba(0, 0, 0, 0)
entity_picture:
- width: 100%
- height: 100%
- object-fit: contain
tap_action:
action: call-service
switch_button:
aspect_ratio: 4/3
color_type: icon
hold_action:
action: more-info
haptic: selection
show_label: false
show_name: true
show_state: true
state:
- styles:
card:
- border: solid 1px var(--paper-item-icon-active-color)
- box-shadow: 0px 0px 10px 3px var(--paper-item-icon-active-color)
value: 'on'
- styles:
card:
- border: solid 1px var(--primary-color)
- box-shadow: none
value: 'off'
- icon: mdi:alert
label: Lost
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: none
icon:
- color: '#ff0000'
- opacity: 0.6
label:
- color: '#7f7f7f'
name:
- color: '#7f7f7f'
value: unavailable
styles:
card:
- border-radius: 10px
- padding: 6px 6px 6px 6px
- margin: 0% 0% 0% 0%
- '--ha-card-background': rgba(0, 0, 0, 0)
grid:
- grid-template-areas: '"i s s" "n n n"'
- grid-template-rows: 33% auto
- grid-template-columns: 33% auto
icon:
- color: var(--button-card-light-color)
- width: 28px
- padding: 0px 0px 0px 0px
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px 0px 0px
- color: var(--primary-text-color)
- white-space: normal
state:
- font-size: 12px
- justify-self: right
- padding: 0px 0px 0px 0px
- color: var(--secondary-text-color)
tap_action:
action: toggle
vacuum_button:
aspect_ratio: 4/3
color_type: icon
hold_action:
action: more-info
haptic: selection
show_label: true
show_name: true
show_state: true
state:
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: solid 1px var(--paper-item-icon-active-color)
- box-shadow: 0px 0px 10px 3px var(--paper-item-icon-active-color)
icon:
- color: var(--paper-item-icon-active-color)
label:
- color: var(--secondary-text-color)
name:
- color: var(--primary-text-color)
state:
- color: var(--paper-item-icon-active-color)
value: cleaning
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: 'solid 1px #ff0000'
- box-shadow: '0px 0px 10px 3px #ff0000'
icon:
- color: '#ff0000'
label:
- color: var(--secondary-text-color)
name:
- color: var(--primary-text-color)
state:
- color: '#ff0000'
value: error
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: solid 1px var(--primary-color)
- box-shadow: none
icon:
- color: var(--paper-item-icon-active-color)
label:
- color: var(--secondary-text-color)
name:
- color: var(--primary-text-color)
state:
- color: var(--secondary-text-color)
value: idle
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: solid 1px var(--primary-color)
- box-shadow: none
icon:
- color: var(--primary-text-color)
label:
- color: var(--secondary-text-color)
name:
- color: var(--primary-text-color)
state:
- color: var(--secondary-text-color)
value: docked
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: solid 1px var(--primary-color)
- box-shadow: none
icon:
- color: var(--paper-item-icon-active-color)
label:
- color: var(--secondary-text-color)
name:
- color: var(--primary-text-color)
state:
- color: var(--secondary-text-color)
value: paused
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: solid 1px var(--paper-item-icon-active-color)
- box-shadow: 0px 0px 10px 3px var(--paper-item-icon-active-color)
icon:
- color: var(--primary-text-color)
label:
- color: var(--secondary-text-color)
name:
- color: var(--primary-text-color)
state:
- color: var(--paper-item-icon-active-color)
value: returning
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: '0px 0px 10px 3px #ff0000'
icon:
- color: '#ff0000'
value: error
- icon: mdi:alert
label: Lost
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: none
icon:
- color: '#ff0000'
- opacity: 0.6
label:
- color: '#7f7f7f'
name:
- color: '#7f7f7f'
value: unknown
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: none
- border-radius: 10px
- padding: 6px 6px 6px 6px
- margin: 0% 0% 0% 0%
- '--ha-card-background': rgba(0, 0, 0, 0)
grid:
- grid-template-areas: '"i s s" "l l l" "n n n"'
- grid-template-rows: 33% auto auto
- grid-template-columns: 33% auto auto
icon:
- color: '#ff0000'
- value: mdi:alert
- width: 28px
- padding: 0px 0px 0px 0px
label:
- font-size: 12px
- justify-self: right
- padding: 0px 0px 0px 0px
- color: '#7f7f7f'
- vaule: Lost
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px 0px 0px
- color: '#7f7f7f'
- white-space: normal
state:
- font-size: 12px
- justify-self: right
- padding: 0px 0px 0px 0px
- color: '#7f7f7f'
tap_action:
action: more-info
Formatted for Mobile displays:
button_card_templates:
binary_sensor_button:
aspect_ratio: 1/1
hold_action:
action: none
label: |
[[[ entity.last_changed ]]]
show_last_changed: true
show_name: true
show_state: true
state:
- styles:
icon:
- color: var(--paper-item-icon-active-color)
state:
- color: var(--paper-item-icon-active-color)
value: >
[[[ return entity.attributes.value && entity.attributes.value in [
'on', 'disarmed','home'] ]]]
- styles:
state:
- color: var(--secondary-text-color)
value: 'off'
- icon: mdi:alert
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: none
icon:
- color: '#ff0000'
- opacity: 0.4
label:
- color: '#7f7f7f'
name:
- color: '#7f7f7f'
value: unavailable
styles:
card:
- box-shadow: none
- border-radius: 10px
- padding: 6px 6px 6px 6px
- margin: 0% 0% 0% 0%
- '--ha-card-background': rgba(0, 0, 0, 0)
grid:
- grid-template-areas: '"n n n" "i s s" "l l l"'
- grid-template-rows: auto 33% auto
- grid-template-columns: 33% auto auto
icon:
- width: 28px
- padding: 0px 0px 0px 0px
- margin: 0% 0% 0% 0%
label:
- justify-self: left
- font-size: 12px
- padding: 0px 0px 0px 0px
- color: var(--secondary-text-color)
name:
- justify-self: left
- font-size: 14px
- padding: 0px 0px 0px 0px
- color: var(--primary-text-color)
state:
- justify-self: left
- font-size: 12px
- padding: 0px 0px 0px 3px
- color: var(--secondary-text-color)
tap_action:
action: more-info
day_button:
color_type: icon
hold_action:
action: none
show_label: false
show_name: true
show_state: false
state:
- icon: mdi:checkbox-marked-circle
styles:
card:
- border: solid 1px var(--paper-item-icon-active-color)
- box-shadow: 0px 0px 10px 3px var(--paper-item-icon-active-color)
name:
- color: var(--primary-text-color)
value: 'on'
- icon: mdi:cancel
value: 'off'
styles:
card:
- border-radius: 10px
- border: solid 1px var(--primary-color)
- box-shadow: none
- padding: 6px 0px
- margin: 0px 0px
- '--ha-card-background': rgba(0, 0, 0, 0)
grid:
- grid-template-areas: '"i" "n"'
- grid-template-rows: auto auto
- grid-template-columns: auto
icon:
- width: 28px
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px
- color: var(--secondary-text-color)
tap_action:
action: toggle
dehum_button:
aspect_ratio: 1/1
color_type: icon
hold_action:
action: more-info
haptic: selection
show_label: false
show_name: true
show_state: true
state:
- styles:
card:
- border: solid 1px var(--primary-color)
- box-shadow: none
icon:
- color: var(--button-card-light-color)
value: 'Off'
- icon: mdi:alert
label: Lost
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: none
icon:
- color: '#ff0000'
- opacity: 0.6
label:
- color: '#7f7f7f'
name:
- color: '#7f7f7f'
value: unavailable
styles:
card:
- border: solid 1px var(--paper-item-icon-active-color)
- box-shadow: 0px 0px 10px 3px var(--paper-item-icon-active-color)
- border-radius: 10px
- padding: 6px 6px 6px 6px
- margin: 0% 0% 0% 0%
- '--ha-card-background': rgba(0, 0, 0, 0)
grid:
- grid-template-areas: '"i s s" "n n n"'
- grid-template-rows: 33% auto
- grid-template-columns: 33% auto
icon:
- color: var(--paper-item-icon-active-color)
- width: 28px
- padding: 0px 0px 0px 0px
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px 0px 0px
- color: var(--primary-text-color)
- white-space: normal
state:
- font-size: 12px
- justify-self: right
- padding: 0px 0px 0px 0px
- color: var(--secondary-text-color)
icon_button:
aspect_ratio: 1/1
color_type: icon
hold_action:
action: none
layout: vertical
show_label: false
show_name: false
show_state: false
styles:
card:
- border-radius: 10px
- border: solid 1px var(--primary-color)
- box-shadow: none
- padding: 6px 6px
- margin: 0px 0px
- '--ha-card-background': rgba(0, 0, 0, 0)
icon:
- width: 28px
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px
- color: var(--secondary-text-color)
tap_action:
action: call-service
light_button:
aspect_ratio: 1/1
color_type: icon
hold_action:
action: more-info
haptic: selection
label: >
[[[ var bri = entity.attributes.brightness &&
Math.round(entity.attributes.brightness / 2.55); if
(entity.state === 'on') return (bri ? (bri+"%") : 'On'); else return "Off"; ]]]
layout: icon_label
show_label: true
show_name: true
state:
- styles:
card:
- border: solid 1px var(--paper-item-icon-active-color)
- box-shadow: 0px 0px 10px 3px var(--paper-item-icon-active-color)
label:
- color: var(--paper-item-icon-active-color)
value: 'on'
- styles:
card:
- border: solid 1px var(--primary-color)
- box-shadow: none
value: 'off'
- icon: mdi:alert
label: Lost
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: none
icon:
- color: '#ff0000'
- opacity: 0.4
label:
- color: '#7f7f7f'
name:
- color: '#7f7f7f'
value: unavailable
styles:
card:
- border-radius: 10px
- padding: 6px 6px 6px 6px
- margin: 0% 0% 0% 0%
- '--ha-card-background': rgba(0, 0, 0, 0)
grid:
- grid-template-areas: '"i l l" "n n n"'
- grid-template-rows: 33% auto
- grid-template-columns: 33% auto
icon:
- color: var(--button-card-light-color-no-temperature)
- width: 28px
- padding: 0px 0px 0px 0px
label:
- font-size: 12px
- justify-self: right
- padding: 0px 0px 0px 0px
- color: var(--secondary-text-color)
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px 0px 0px
- color: var(--primary-text-color)
- white-space: normal
tap_action:
action: toggle
menu_button:
aspect_ratio: 1/1
color_type: icon
hold_action:
action: none
layout: vertical
show_label: false
show_name: true
show_state: false
styles:
card:
- border-radius: 10px
- border: solid 1px var(--primary-color)
- box-shadow: none
- padding: 6px 6px
- margin: 0px 0px
- '--ha-card-background': rgba(0, 0, 0, 0)
icon:
- width: 28px
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px
- color: var(--secondary-text-color)
- white-space: normal
tap_action:
action: call-service
picture_button:
aspect_ratio: 1/1
color_type: icon
hold_action:
action: none
layout: vertical
show_entity_picture: true
show_icon: false
show_label: false
show_name: false
show_state: false
styles:
card:
- border-radius: 10px
- border: solid 1px var(--primary-color)
- box-shadow: none
- padding: 6px 6px
- margin: 0px 0px
- '--ha-card-background': rgba(0, 0, 0, 0)
entity_picture:
- width: 100%
- height: 100%
- object-fit: contain
tap_action:
action: call-service
switch_button:
aspect_ratio: 1/1
color_type: icon
hold_action:
action: more-info
haptic: selection
show_label: false
show_name: true
show_state: true
state:
- styles:
card:
- border: solid 1px var(--paper-item-icon-active-color)
- box-shadow: 0px 0px 10px 3px var(--paper-item-icon-active-color)
value: 'on'
- styles:
card:
- border: solid 1px var(--primary-color)
- box-shadow: none
value: 'off'
- icon: mdi:alert
label: Lost
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: none
icon:
- color: '#ff0000'
- opacity: 0.6
label:
- color: '#7f7f7f'
name:
- color: '#7f7f7f'
value: unavailable
styles:
card:
- border-radius: 10px
- padding: 6px 6px 6px 6px
- margin: 0% 0% 0% 0%
- '--ha-card-background': rgba(0, 0, 0, 0)
grid:
- grid-template-areas: '"i s s" "n n n"'
- grid-template-rows: 33% auto
- grid-template-columns: 33% auto
icon:
- color: var(--button-card-light-color)
- width: 28px
- padding: 0px 0px 0px 0px
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px 0px 0px
- color: var(--primary-text-color)
- white-space: normal
state:
- font-size: 12px
- justify-self: right
- padding: 0px 0px 0px 0px
- color: var(--secondary-text-color)
tap_action:
action: toggle
vacuum_button:
aspect_ratio: 1/1
color_type: icon
hold_action:
action: more-info
haptic: selection
show_label: true
show_name: true
show_state: true
state:
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: solid 1px var(--paper-item-icon-active-color)
- box-shadow: 0px 0px 10px 3px var(--paper-item-icon-active-color)
icon:
- color: var(--paper-item-icon-active-color)
label:
- color: var(--secondary-text-color)
name:
- color: var(--primary-text-color)
state:
- color: var(--paper-item-icon-active-color)
value: cleaning
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: 'solid 1px #ff0000'
- box-shadow: '0px 0px 10px 3px #ff0000'
icon:
- color: '#ff0000'
label:
- color: var(--secondary-text-color)
name:
- color: var(--primary-text-color)
state:
- color: '#ff0000'
value: error
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: solid 1px var(--primary-color)
- box-shadow: none
icon:
- color: var(--paper-item-icon-active-color)
label:
- color: var(--secondary-text-color)
name:
- color: var(--primary-text-color)
state:
- color: var(--secondary-text-color)
value: idle
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: solid 1px var(--primary-color)
- box-shadow: none
icon:
- color: var(--primary-text-color)
label:
- color: var(--secondary-text-color)
name:
- color: var(--primary-text-color)
state:
- color: var(--secondary-text-color)
value: docked
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: solid 1px var(--primary-color)
- box-shadow: none
icon:
- color: var(--paper-item-icon-active-color)
label:
- color: var(--secondary-text-color)
name:
- color: var(--primary-text-color)
state:
- color: var(--secondary-text-color)
value: paused
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: solid 1px var(--paper-item-icon-active-color)
- box-shadow: 0px 0px 10px 3px var(--paper-item-icon-active-color)
icon:
- color: var(--primary-text-color)
label:
- color: var(--secondary-text-color)
name:
- color: var(--primary-text-color)
state:
- color: var(--paper-item-icon-active-color)
value: returning
- label: '[[[ return `Bat ${entity.attributes.battery_level}%` ]]]'
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: '0px 0px 10px 3px #ff0000'
icon:
- color: '#ff0000'
value: error
- icon: mdi:alert
label: Lost
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: none
icon:
- color: '#ff0000'
- opacity: 0.6
label:
- color: '#7f7f7f'
name:
- color: '#7f7f7f'
value: unknown
styles:
card:
- border: 'solid 1px #7f7f7f'
- box-shadow: none
- border-radius: 10px
- padding: 6px 6px 6px 6px
- margin: 0% 0% 0% 0%
- '--ha-card-background': rgba(0, 0, 0, 0)
grid:
- grid-template-areas: '"i s s" "l l l" "n n n"'
- grid-template-rows: 33% auto auto
- grid-template-columns: 33% auto auto
icon:
- color: '#ff0000'
- value: mdi:alert
- width: 28px
- padding: 0px 0px 0px 0px
label:
- font-size: 12px
- justify-self: right
- padding: 0px 0px 0px 0px
- color: '#7f7f7f'
- vaule: Lost
name:
- justify-self: middle
- align-self: end
- font-size: 14px
- padding: 0px 0px 0px 0px
- color: '#7f7f7f'
- white-space: normal
state:
- font-size: 12px
- justify-self: right
- padding: 0px 0px 0px 0px
- color: '#7f7f7f'
tap_action:
action: more-info