Navigation

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

    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

    Bedingte Formatierung Css

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

      Hallo zusammen,

      ich habe ein Problem mit einer bed. Formatierung und zwar möchte ich ein Text rot / grün ausgeben je nachdem ob der Wert true oder false ist.

      Das habe ich im Css-Font: Color stehen:

      {h:shelly.0.SHDW-2#483FDA81EA42#1.sensor.door.STATE;h == false ? "#ff0000" :"#008000"}

      habe schon mit einem oder 3 = probiert etc. es klappt einfach nicht. 😞
      f83ca71a-2d8b-43f3-8ad3-afbbf42cec1b-image.png
      Was mach ich falsch?

      VG

      liv-in-sky 1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @terades last edited by liv-in-sky

        @terades setz mal das false in anführungszeichen

        https://forum.iobroker.net/post/534076

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

        Support us

        ioBroker
        Community Adapters
        Donate

        809
        Online

        31.9k
        Users

        80.1k
        Topics

        1.3m
        Posts

        vis
        2
        2
        403
        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