Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Bedingte Formatierung funktioniert nicht

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Bedingte Formatierung funktioniert nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • Michael Blass
      Michael Blass last edited by Michael Blass

      Hallo, ich habe in der VIS das Basic-Number-Widget einem Batteriestatus (%-Wert) zugewiesen. Die Anzeige des Wertes klappt. Wenn ich nun bei background-color
      {wert:zigbee.0.00xxxxxxxxxxxxxxx.battery; wert = 100 ? "#00ff00" : wert <= 50 ? "#ff0000" : "#ffff00"}
      eingebe, wird es immer in grün (00ff00) dargestellt, egal, welche Bedingung ich eingebe. Der Wert ist aktuell 97, sollte also gelb (ffff00) gezeigt werden. Woran kann das liegen?

      H 1 Reply Last reply Reply Quote 0
      • H
        hwiedermann @Michael Blass last edited by

        @Michael-Blass sagte in Bedingte Formatierung funktioniert nicht:

        {wert:zigbee.0.00xxxxxxxxxxxxxxx.battery; wert = 100 ? "#00ff00" : wert <= 50 ? "#ff0000" : "#ffff00"}

        Hast du eine Lösung gefunden?

        ice987 1 Reply Last reply Reply Quote 0
        • ice987
          ice987 @hwiedermann last edited by ice987

          @hwiedermann
          @Michael-Blass

          {wert:zigbee.0.00xxxxxxxxxxxxxxx.battery;wert=="100" ? "#00ff00" : (wert<="50" ? "#ff0000" : "#ffff00")}

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Support us

          ioBroker
          Community Adapters
          Donate

          494
          Online

          31.9k
          Users

          80.2k
          Topics

          1.3m
          Posts

          vis
          3
          3
          426
          Loading More Posts
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes
          Reply
          • Reply as topic
          Log in to reply
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          The ioBroker Community 2014-2023
          logo