Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Bindings HTML Widget in Farbe **gelöst dank**

    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

    Bindings HTML Widget in Farbe **gelöst dank**

    This topic has been deleted. Only users with topic management privileges can see it.
    • Horst Böttcher
      Horst Böttcher last edited by Horst Böttcher

      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

      OliverIO SBorg 2 Replies Last reply Reply Quote 0
      • OliverIO
        OliverIO @Horst Böttcher last edited by OliverIO

        @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

        Horst Böttcher 1 Reply Last reply Reply Quote 0
        • Horst Böttcher
          Horst Böttcher @OliverIO last edited by

          @oliverio Ich möchte gerne das wenn das Licht an ist in Gelber Schrieft ist

          1 Reply Last reply Reply Quote 1
          • SBorg
            SBorg Forum Testing Most Active @Horst Böttcher last edited by

            @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>
            
            1 Reply Last reply Reply Quote 1
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            901
            Online

            31.9k
            Users

            80.2k
            Topics

            1.3m
            Posts

            3
            4
            233
            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