[gelöst] Nur OpenAutomation-Icon farbig darstellen

Begonnen von cotecmania, 14 Februar 2016, 22:11:36

Vorheriges Thema - Nächstes Thema

cotecmania

Hallo,

ich möchte ein Symbol aus den OpenAutomation-Icons verwenden und farbig darstellen. Also keine Verbindung zu einem Device.

<div data-type="symbol" data-icons='["oa-temp_temperature"]' class="inline small narrow left-narrow"></div>

Leider erscheint das icon immer nur in grau.
Die Farbattribute zeigten keine Wirkung.

Gruss
Joe
FHEM auf Debian 13 in Proxmox VM
MAX!/HM/Sonoff-Thermostate, HM-Rolladenschalter, Shellys aller Art, LevelJet-Ölstandsmessung, KM271, IPCAM, TAB13" FTUI3

setstate

Da du kein Status von FHEM abholst, bleibt das Symbol beim Default-Status, also nicht aktiviert.
Daher muss die Definition so aussehen:

<div data-type="symbol" data-icon="oa-temp_temperature" data-off-color="red"></div>

cotecmania

FHEM auf Debian 13 in Proxmox VM
MAX!/HM/Sonoff-Thermostate, HM-Rolladenschalter, Shellys aller Art, LevelJet-Ölstandsmessung, KM271, IPCAM, TAB13" FTUI3