PaRe
16. Februar 2026 um 07:32
1
Hallo liebe Community,
ich suche schon seit einiger Zeit eine Möglichkeit, in meinem Photovoltaik Dashboard für meine Familie einfach via Rot-Gelb-Grün Ampel anzuzeigen, ob es aktuell eine gute Idee ist, bspw. die Waschmaschine oder den Geschirrspüler einzuschalten.
Die Automation dazu bekomme ich selbst hin, allerdings frage ich mich, ob es eine Möglichkeit gibt, dies dann wirklich als eine Art Ampel im Dashboard anzuzeigen und wenn ja, wie die Entität dazu aussehen muss? (z.B. Integer-Helper mit 1 = Grün, 2 = Gelb, 3 = Rot)
Ich bin für alle Tipps und Ratschläge dankbar
Viele Grüße,
Patrick
Ich habe bei mir so etwas ähnliches für die Akku-Lade- und Entlade-Anzeige mit einer Mushroom-Karte gebaut.
Vielleicht hilft dir das weiter:
type: custom:mushroom-template-card
primary: |
{% set x = states(entity)|int(0) -%}
{% if (x > 0) -%} Akku wird geladen
{% elif (x == 0) -%} Kein Laden/Entladen
{% elif (x < 0) -%} Akku wird entladen
{% endif -%}
icon: mdi:car-battery
multiline_secondary: true
secondary: |-
{% set x = states(entity)|int(0) %}
{% if (x > 0) -%} {{ x }} Watt
{% elif (x < 0) -%} {{ x * -1 }} Watt
{% else -%}
{% endif %}
tap_action:
action: more-info
color: |-
{% if states(entity) | int > 0 %} green
{% elif states(entity) | int == 0 %} yellow
{% else %} red
{% endif %}
features_position: bottom
entity: sensor.victron_mqtt_vebus_276_vebus_inverter_dc_power
2 „Gefällt mir“
roudini
16. Februar 2026 um 07:50
3
Ich habe das via Gauge-Card visualisiert - das gibt auch noch einen Eindruck, wie groß der Überschuss tatsächlich ist
1 „Gefällt mir“
PaRe
17. Februar 2026 um 07:44
4
Grüß euch,
danke für die schnellen Rückmeldungen!
Ich habe mich nun mal für eine Quick&Dirty Lösung entschieden und mache mit card mod folgendes in einer Kachel Karte:
card_mod:
style: |
ha-card {
{% if states('input_number.gerate_einschalten') | int > 2 %}
--card-mod-icon-color: red;
#background: #ff4d4d;
#color: red;
{% elif states('input_number.gerate_einschalten') | int > 1 %}
--card-mod-icon-color: yellow;
#background: #ff4d4d;
#color: yellow;
{% else %}
--card-mod-icon-color: green;
#background: #ff4d4d;
#color: green;
{% endif %}
}
Der Integer wird via Automation je nach PV-Status, Ladeständen etc. auf 1, 2 oder 3 gesetzt.
Entspricht zumindest mal zu 80% meiner Erwartungshaltung