Hello can somebody help me with this please :
I want to create a
custom:mushroom-template-card with a 5 custom:mushroom-entity-card inside
is it the right way to do it?
this is what i want to be looks like (just without that background)
and this is what I have now, and don’t know what to do with.
here is a code I get from this topic (thanks) and I just want to modify it for myself.
- type: custom:stack-in-card
mode: horizontal
cards:
- type: custom:mushroom-template-card
primary: Room
secondary: param
icon: mdi:alert-decagram-outline
tap_action:
action: navigate
navigation_path: home
icon_color: orange
multiline_secondary: true
- square: false
columns: 5
type: grid
cards:
- type: custom:auto-entities
card:
type: entities
show_header_toggle: false
filter:
include:
- domain: binary_sensor
state: 'on'
attributes:
device_class: 'motion'
options:
secondary_info:
state_color: true
- domain: binary_sensor
state: 'on'
attributes:
device_class: 'presence'
options:
secondary_info:
state_color: true
- type: custom:mushroom-template-card
primary: door
secondary: |-
{% if is_state("binary_sensor.0x00150119378d_contact", "off") %}
close
{% else %}
open
{% endif %}
layout: horizontal
entity: binary_sensor.0x00158d000119378d_contact
icon: |-
{% if is_state("binary_sensor.0x001500119378d_contact", "off") %}
phu:panel-frontdoor-close
{% else %}
phu:panel-frontdoor-open
{% endif %}
multiline_secondary: true
icon_color: |-
{% if is_state("binary_sensor.0x0010119378d_contact", "off") %}
grey
{% else %}
amber
{% endif %}
tap_action:
action: more-info
- type: custom:mushroom-entity-card
entity: sensor.room1_temperature1
primary_info: none
secondary_info: none
layout: horizontal
icon_color: orange
- type: custom:mushroom-entity-card
entity: sensor.room1_humidity1
primary_info: none
secondary_info: none
layout: horizontal
icon_color: orange
- type: custom:mushroom-entity-card
entity: sensor.room1_co2_1
primary_info: none
secondary_info: none
layout: horizontal
icon_color: orange
and if I do it with a custom:mushroom-chips-card then I have this result and cannot move it closer and adjust it, motion icon have a content_info: none but this “none” still taking space…
@rhysb please help