NEWS
Bindings HTML Widget in Farbe **gelöst dank**
-
Hallo ich versuche seid gestern die Schrieft zu ändern , wenn das licht an ist soll sie in Gelb sein
ich nutze das Basic HTML Widget für die Tabelle<td> {val:zigbee.0.588e81fffeb97824.state; val=="false"? "ist aus": val=="true"? "ist an": "yellowgreen"} </td> <td></td> <td></td> </tr>
edit
-
@horst-böttcher sagte in Bindings HTML Widget in Farbe:
Hallo ich versuche seid gestern sie schrieft wenn das licht an ist in Geld zu bekommen
schriebft? Licht? Geld?
Fast alle Wörter kenn ich, aber im Kontext hab ich nix verstanden -
@oliverio Ich möchte gerne das wenn das Licht an ist in Gelber Schrieft ist
-
@horst-böttcher
Da musst du dann schon bei HTML bleiben<td> <font color={val:zigbee.0.588e81fffeb97824.state; val=="false"? "yellow>ist aus" : "green>ist an"}</font> </td> <td></td> <td></td> </tr>
Daraus wird dann zur Laufzeit (nicht im Editor):
bei "false" <font color=yellow>ist aus</font> bei "true" <font color=green>ist an</font>