Closed wgumaa closed 4 months ago
Unfortunately I can't confirm, that your indentation is correct. Please edit your comment and make sure that your config is correctly formatted by using three ` in the beginning and three ` after your code block.
Have done so now.
Figured it out. It was indentation starinting with weekday anf the removal of null from dateFormat.
First, let me start by saying thatI love this card! Easy to use and set up and looks good!
I recently ran into an issue when tried to use the card in a grid. I have a grid comprising of 2 columns. The left column is 95% and contains the clock card and right column is 5% and has a chip card.
Despite the fact that I set the weekday: 'long' it displays the short one and I cannot figure out why?
Here is the code for my card:
`type: custom:layout-card layout_type: custom:grid-layout layout_options: grid-template-columns: 95% 5% grid-template-rows: auto grid-template-areas: | "left right" cards:
type: custom:mushroom-chips-card chips:
type: template entity: alarm_control_panel.evo192_partition_area_1 tap_action: action: none hold_action: action: none double_tap_action: action: none icon: |- {% set state = states(entity) %} {% if state == 'armed' %} mdi:shield-lock {% elif state == 'disarmed' %} mdi:shield-lock-open {% endif %} icon_color: |- {% set state = states(entity) %} {% if state == 'armed' %} red {% else %} green {% endif %} alignment: center card_mod: style: | ha-card { --chip-icon-size: 30px; --chip-height: 75px;
--chip-border-width: 0px; --chip-box-shadow: none; --chip-background: none; } view_layout: grid-area: right`
Is it my coding so something with the card?