Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Blockly Liste nach Wert durchsuchen

    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

    Blockly Liste nach Wert durchsuchen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Cinimod
      Cinimod Most Active @Michmu last edited by

      @michmu

      Der inhalt deiner liste ist ja nicht ausschließlich die id, ich vermute er findet die id so nicht.
      Mach mal nur die nummern in deine liste ohne den text

      M 1 Reply Last reply Reply Quote 0
      • M
        Michmu @Cinimod last edited by Michmu

        @cinimod Ich hab Text und Zahl ausprobiert. Auch Einzeln .Kein Erfolg Screenshot 2025-02-12 155421.png

        Cinimod 1 Reply Last reply Reply Quote 0
        • Cinimod
          Cinimod Most Active @Michmu last edited by

          @michmu

          du hast den falls vergleich ja gar nicht geändert wie ich dir gezeigt habe !

          M 1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @Michmu last edited by paul53

            @michmu sagte: Leider Funktioniert es mit der Liste nicht. Hat jemand eine Idee ?

            Versuche es mal so, wenn die Card-ID-Wert auch den Namen enthält:

            Blockly_temp.JPG

            1 Reply Last reply Reply Quote 1
            • M
              Michmu @Cinimod last edited by

              @cinimod das hat funktioniert 111👍

              M 1 Reply Last reply Reply Quote 0
              • M
                Michmu @Michmu last edited by

                @michmuDas Funktioniert Geht.png

                Das Funktioniert nicht.GEHT NICHT.png

                Einen Benennung ist aber schöner....

                Cinimod 1 Reply Last reply Reply Quote 0
                • Cinimod
                  Cinimod Most Active @Michmu last edited by Cinimod

                  @michmu dann mach dir doch jede zweite zeile nen text in die liste 🤷‍♂️

                  da385116-4174-48c0-b256-5a4ece8b67c3-image.png

                  1 Reply Last reply Reply Quote 0
                  • Codierknecht
                    Codierknecht Developer Most Active last edited by Codierknecht

                    Hmmmm, so 'ne zusammengeklöppelte Liste mag zwar einfacher nach dem gewünschten Element zu durchsuchen sein, aber so richtig "sauber" finde ich persönlich das nicht.
                    Eine Liste von Objekten wäre da wohl strukturierter. Auch wenn man dann eine Schleife zum Suchen benötigt.

                    fe4bb98b-98c0-4ee3-b55c-a0a7e7b1ca38-grafik.png

                    Edit
                    Screenshot nach @paul53's Vorschlag korrigiert.

                    paul53 1 Reply Last reply Reply Quote 1
                    • paul53
                      paul53 @Codierknecht last edited by

                      @codierknecht sagte: Eine Liste von Objekten wäre da wohl strukturierter.

                      Das sehe ich auch so, aber weshalb der "Umweg" über JSON?

                      Blockly_temp.JPG

                      Codierknecht Cinimod 2 Replies Last reply Reply Quote 1
                      • Codierknecht
                        Codierknecht Developer Most Active @paul53 last edited by Codierknecht

                        @paul53
                        Cool - auf das Zahnrad habe ich bisher nie geachtet 😎
                        Man lernt eben nie aus. Danke!

                        Ich korrigiere das oben mal ...

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          Michmu @Codierknecht last edited by

                          Genau das habe ich gesucht. Perfekt. Danke für die Hilfe 👍

                          1 Reply Last reply Reply Quote 0
                          • Cinimod
                            Cinimod Most Active @paul53 last edited by Cinimod

                            @paul53

                            Ech cool das kannte ich auch noch nicht ... Ich bekomme diesen block aber so gar nicht hin, was mache ich falsch ?

                            3c745ed5-f71d-4aee-9e4f-b979686259b6-image.png

                            EDIT: schon erledigt ... danke

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            864
                            Online

                            31.9k
                            Users

                            80.1k
                            Topics

                            1.3m
                            Posts

                            4
                            15
                            452
                            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