@MattMakesItWork
So here is the code for one of the pop up card for the all doors. They are all template cards with code to say what icon and color to use based on door state.
First the all doors card:
type: custom:mushroom-template-card
primary: All doors
secondary: |-
{% if is_state("input_boolean.all_doors_closed", "on") %}
All closed
{% elif is_state("input_boolean.all_doors_closed", "off") %}
Some open
{% endif %}
icon: |-
{% if is_state("input_boolean.all_doors_closed", "on") %}
mdi:door-closed-lock
{% elif is_state("input_boolean.all_doors_closed", "off") %}
mdi:door-open
{% endif %}
entity: input_boolean.all_doors_closed
layout: vertical
badge_color: ''
icon_color: |-
{% if is_state("input_boolean.all_doors_closed", "on") %}
green
{% elif is_state("input_boolean.all_doors_closed", "off") %}
red
{% endif %}
tap_action:
action: navigate
navigation_path: '#doorsclosed'
hold_action:
action: none
double_tap_action:
action: none
multiline_secondary: false
fill_container: true
layout_options:
grid_columns: 1
grid_rows: 2
Then the pop-up card it opens:
type: vertical-stack
cards:
- type: custom:bubble-card
card_type: pop-up
hash: '#doorsclosed'
button_type: name
name: Door status
bg_color: ''
bg_opacity: '30'
width_desktop: 500px
show_header: true
scrolling_effect: true
show_icon: false
show_name: true
icon: mdi:garage-variant-lock
margin: 7px
card_layout: large
bg_blur: '10'
- type: custom:mushroom-template-card
primary: Front
secondary: |-
{% if is_state("binary_sensor.open_close_front_door", "on") %}
Open
{% elif is_state("binary_sensor.open_close_front_door", "off") %}
Closed
{% endif %}
icon: |-
{% if is_state("binary_sensor.open_close_front_door", "on") %}
mdi:door-open
{% elif is_state("binary_sensor.open_close_front_door", "off") %}
mdi:door-closed
{% endif %}
entity: binary_sensor.open_close_front_door
layout: vertical
badge_color: ''
icon_color: |-
{% if is_state("binary_sensor.open_close_front_door", "on") %}
red
{% elif is_state("binary_sensor.open_close_front_door", "off") %}
green
{% endif %}
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
multiline_secondary: false
fill_container: true
- type: custom:mushroom-template-card
primary: Garage
secondary: |-
{% if is_state("binary_sensor.open_close_garage_door", "on") %}
open
{% elif is_state("binary_sensor.open_close_garage_door", "off") %}
Closed
{% endif %}
icon: |-
{% if is_state("binary_sensor.open_close_garage_door", "on") %}
mdi:door-open
{% elif is_state("binary_sensor.open_close_garage_door", "off") %}
mdi:door-closed
{% endif %}
entity: binary_sensor.open_close_garage_door
layout: vertical
badge_color: ''
icon_color: |-
{% if is_state("binary_sensor.open_close_garage_door", "on") %}
red
{% elif is_state("binary_sensor.open_close_garage_door", "off") %}
green
{% endif %}
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
multiline_secondary: false
fill_container: true
- type: custom:mushroom-template-card
primary: Basement
secondary: |-
{% if is_state("binary_sensor.open_close_basement_door", "on") %}
open
{% elif is_state("binary_sensor.open_close_basement_door", "off") %}
Closed
{% endif %}
icon: |-
{% if is_state("binary_sensor.open_close_basement_door", "on") %}
mdi:door-open
{% elif is_state("binary_sensor.open_close_basement_door", "off") %}
mdi:door-closed
{% endif %}
entity: binary_sensor.open_close_basement_door
layout: vertical
badge_color: ''
icon_color: |-
{% if is_state("binary_sensor.open_close_basement_door", "on") %}
red
{% elif is_state("binary_sensor.open_close_basement_door", "off") %}
green
{% endif %}
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
multiline_secondary: false
fill_container: true
For your question, the all doors card is just a status of doors being open/closed. The separate front door card is just if the front door is locked or not. I could incorporate the lock into the all doors, front door section, but I wanted to keep it separate for now.