Überschriftengröße / Kartentyp?

Fidibus

Active member
Moin,
ich stell mich gerade wieder etwas dumm an.
1765449655660.png
Ich bekomme die Überschrift "Preise Super" nicht auf die Größe wie z.B. "Rauchmelder".
Code Card Rauchmelder:
Code:
type: vertical-stack
cards:
  - type: entities
    title: Rauchmelder HWR
    state_color: true
    card_mod:
      style: |
        ha-card {
          {% if states('binary_sensor.shelly_smoke_1_smoke') == 'on' %}
            background-color: rgba(255, 0, 0, 0.4) !important; /* Transparente rote Farbe */
          {% else %}
            /* Optional: Normale Farbe beibehalten */
            background-color: var(--card-background-color) !important;
          {% endif %}
        }
    entities:
      - entity: binary_sensor.shelly_smoke_1_smoke
        name: Status
        icon: mdi:fire-alert
      - entity: button.shelly_smoke_1_mute_alarm
        name: Alarm stumm schalten
        icon: mdi:bell-off
  - type: entities
    title: Rauchmelder Aquarium
    state_color: true
    card_mod:
      style: |
        ha-card {
          {% if states('binary_sensor.shelly_smoke_2_smoke') == 'on' %}
            background-color: rgba(255, 0, 0, 0.4) !important;
          {% else %}
            background-color: var(--card-background-color) !important;
          {% endif %}
        }
    entities:
      - entity: binary_sensor.shelly_smoke_2_smoke
        name: Status
        icon: mdi:fire-alert
      - entity: button.shelly_smoke_2_mute_alarm
        name: Alarm stumm schalten
        icon: mdi:bell-off
  - type: entities
    title: Rauchmelder Schlafzimmer
    state_color: true
    card_mod:
      style: |
        ha-card {
          {% if states('binary_sensor.shellyplussmoke_2cbcbbf66c84_smoke') == 'on' %}
            background-color: rgba(255, 0, 0, 0.4) !important;
          {% else %}
            background-color: var(--card-background-color) !important;
          {% endif %}
        }
    entities:
      - entity: binary_sensor.shellyplussmoke_2cbcbbf66c84_smoke
        name: Status
        icon: mdi:fire-alert
      - entity: button.shellyplussmoke_2cbcbbf66c84_mute_alarm
        name: Alarm stumm schalten
        icon: mdi:bell-off
Code Card Benzinpreise:
Code:
type: custom:auto-entities
card:
  type: entities
filter:
  include:
    - options: {}
      entity_id: "*super*"
  exclude:
    - options: {}
      entity_id: "*home_assistant*"
    - options: {}
      entity_id: "*billigster_preis_super*"
    - options: {}
      entity_id: "*binary_sensor.supermarkt_tankstelle_ostsee_park_str_3_status*"
sort:
  method: state
  ignore_case: true
  count: 3
  numeric: true
  ip: false
Geht das überhaupt?
 
Ja, aber ändern möchte ich eigentlich die Card Benzinpreise. Da ist Card-mod nicht verwendet.
Aber ich denke wahrscheinlich falsch.
 

Letzte Anleitungen

Statistik des Forums

Themen
7.507
Beiträge
73.347
Mitglieder
8.028
Neuestes Mitglied
mil0x
Zurück
Oben