SKB-CGN / ioBroker.energiefluss

This ioBroker adapter allows to display an energyflow animation inside an iframe or HTML DIV.
MIT License
43 stars 5 forks source link

Font farbe 'battery Charge and discharge' #356

Closed HB-Git closed 1 month ago

HB-Git commented 1 month ago

Describe the bug
Wenn ich nur 'Charge accu:' eine Leistung darstellen lasse, kann ich die Farbe richtig einstellen unter dem Reiterblatt 'Color-settings'. Wenn ich allerdings dann neben Leistung auch den SOC Werte zeigen lasse, gehen die Farben von Leistung und SOC in Orange und diese lässt sich nicht mehr ändern. Ich hatte eigentlich Schwarz für Text und Werte eingestellt.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'battery Charge and discharge'
  2. Choose bothe discharge power and SOC datapoint
  3. Selecting colors in the 'Color-settings' do not change the color in the displayed values.
  4. If I remove the SOC datapoint again, so only charge power is shown, the color changes to the selected color. If I change a different background instead of blue a green, the font also changes and can still not be turned to the one I choose

Expected behavior
Normally color should always be changed also with more than one datapoint visible.

Screenshots & Logfiles
Color correct (but no SOC visible): Screenshot 2024-06-09 205059

Color incorrect: Screenshot 2024-06-09 204944

Different background: Screenshot 2024-06-09 210039

Versions:

Additional context
Add any other context about the problem here.

SKB-CGN commented 1 month ago

Die Farbe wird bei sich füllendem Element passend gewählt, damit man den Text erkennen kann.

Die Farbe ohne Füllung ist die, die du angegeben hast.

HB-Git commented 1 month ago

Verstehe, aber ich habe keinen weiteren Platz für den Farben als diese für 'Battery' gefunden: Screenshot 2024-06-10 064143

Und damit kriege ich leider kein Schwarz: Screenshot 2024-06-10 064312

SKB-CGN commented 1 month ago

Habe ich doch erklärt - die Farbe ohne Füllung gibst Du an - schwarz.

Sobald das Element gefüllt wird, wird eine Farbe gewählt, die man erkennen kann.

Da schwarz auf blau zu dunkel ist, wird eine passende Farbe gewählt.

Gerne kannst du auch auf die 'erweitert' Version wechseln - diese ist vollkommen einstellbar.

HB-Git commented 1 month ago

Alles klar danke!