Hallo,
ich habe eine Sektion mit Group Card Pro von @malte-wessel erstellt. Grid mode:
type: custom:layout-card-pro
columns: 1
breakpoints:
'2':
columns: 4
cards:
- type: custom:entity-group-card-pro
layout: grid
columns: 2
show_value: false
entities:
- entity: switch.opensprinkler_hauptventil_aktiviert
control: toggle
tap_action: toggle
rules:
- state: 'on'
color: '#88e788'
label: Aktiviert
- state: 'off'
label: Deaktiviert
- entity: switch.opensprinkler_bewaesserungszone_1_beeren_und_obst_aktiviert
name: Zonenventil
control: toggle
tap_action: toggle
rules:
- state: 'on'
color: '#88e788'
label: Aktiviert
- state: 'off'
label: Deaktiviert
- entity: switch.opensprinkler_1_beeren_und_obst_enable_date_range
name: Bewässerungsautomatik
control: toggle
tap_action: toggle
rules:
- state: 'on'
color: '#88e788'
label: An
- state: 'off'
label: Aus
- entity: switch.opensprinkler_1_beeren_und_obst_program_use_weather
name: Wetterbeschränkung
control: toggle
tap_action:
action: toggle
rules:
- state: 'on'
color: '#88e788'
label: An
- state: 'off'
label: Aus
Das sieht dann so aus:
Wie bekomme ich den standardmäßigen State “Ein” bzw. “Aus” ausgeblendet oder durch die Rules ersetzt, statt dass der State doppelt erscheint?
