Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
1.3 kB
0
Indexable
Never
type: custom:stack-in-card
mode: vertical
cards:
  - type: custom:mushroom-climate-card
    entity: climate.virtual_termostat_obyvak
    name: Obývací pokoj
    show_temperature_control: true
    collapsible_controls: false
    layout: horizontal
    tap_action:
      action: toggle
  - type: custom:mushroom-template-card
    secondary: '|  {{states(''sensor.interni_teplota_hlavice_l'')}} °C  |'
    icon: ''
    entity: sensor.interni_teplota_hlavice_l
    tap_action:
      action: more-info
    card_mod:
      style: |
        ha-card {
          background: none;
          margin-top: -45px;
          margin-bottom: 0px;
          margin-left: 156px;
          }
  - type: custom:mushroom-template-card
    secondary: '{{states(''sensor.hlavice_l_pi_heating_demand'')}} %'
    icon: ''
    entity: sensor.hlavice_l_pi_heating_demand
    tap_action:
      action: more-info
    card_mod:
      style: |
        ha-card {
          background: none;
          margin-top: -45px;
          margin-bottom: 0px;
          margin-left: 213px;
          }
card_mod:
  style: |
    ha-card {
      border-radius: 12px;
      box-shadow: none;
      --secondary-text-color:  {{ 'rgb(139, 179, 248)' if not is_state('climate.virtual_termostat_obyvak', 'off') else 'rgb(var(--rgb-disabled))' }};
      }
Leave a Comment