Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Number ist aufeinmal String?

    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

    Number ist aufeinmal String?

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Timmss @Homoran last edited by

      @homoran Ich habe das jetzt mal probiert:

      0737dbc2-4a30-4668-acab-226b4607d990-grafik.png

      Und damit klappt es fehlerfrei. Trotzdem komisch, weil es ja eigentlich nie zum String gemacht wird.

      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @Timmss last edited by Homoran

        @timmss sagte in Number ist aufeinmal String?:

        weil es ja eigentlich nie zum String gemacht wird.

        tatsächlich?

        was sagt denn Typ von?

        @homoran sagte in Number ist aufeinmal String?:

        dann schreibt lovelace wohl einen String.

        T 1 Reply Last reply Reply Quote 0
        • T
          Timmss @Homoran last edited by

          @homoran

          9e36631e-1e1b-4655-bf78-9cfd9f3afbe8-grafik.png

          2024-08-02 09:46:53.778 - info: javascript.0 (31850) script.js.common.Test.Testskript1: Typ von Datenpunkt = number
          

          Sehr komisch.

          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @Timmss last edited by

            @timmss sagte in Number ist aufeinmal String?:

            Sehr komisch.

            nee, falscher Block, 😁
            deswegen hab ich ihn wieder weggenommen.
            das ist der Datenpunkt-Typ, nicht der Typ des Werts

            T 1 Reply Last reply Reply Quote 0
            • T
              Timmss @Homoran last edited by Timmss

              @homoran Sorry, da hat es wieder gekracht 😂

              0f3093fd-f071-4882-be26-5fd1186b21a5-grafik.png

              2024-08-02 09:58:45.308 - info: javascript.0 (31850) script.js.common.Test.Testskript1: Typ von Wert = string
              

              Es passiert aber echt beim Verändern des Wertes im Lovelace Eingabefeld. Ich habe es mit einem Wert probiert, den ich noch nicht im Lovelace Feld verändert habe und er sagt mir Typ = number. Nun habe ich ihn verändert und er sagt Typ = string 😧

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Timmss last edited by

                @timmss sagte in Number ist aufeinmal String?:

                Typ von Wert = string

                @timmss sagte in Number ist aufeinmal String?:

                weil es ja eigentlich nie zum String gemacht wird.

                😂

                T 1 Reply Last reply Reply Quote 0
                • T
                  Timmss @Homoran last edited by

                  @homoran Jaja, deswegen das eigentlich kursiv geschrieben 😂

                  Mein Lovelace Eingabefeld vom Typ input-number wandelt meine Eingaben in String um.

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Timmss last edited by

                    @timmss sagte in Number ist aufeinmal String?:

                    @homoran Jaja, deswegen das eigentlich kursiv geschrieben 😂

                    Mein Lovelace Eingabefeld vom Typ input-number wandelt meine Eingaben in String um.

                    Wäre ein Issue wert!

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      Timmss @Homoran last edited by

                      Issue ist erstellt, https://github.com/ioBroker/ioBroker.lovelace/issues/545

                      Timmssss created this issue in ioBroker/ioBroker.lovelace

                      closed Eingabefeld-Zahl wandelt Wert in String um #545

                      1 Reply Last reply Reply Quote 0
                      • T
                        Timmss last edited by

                        Die Lovelace Version 4.1.11 ist nun da. Number-Werte bleiben jetzt auch number-Werte nach Veränderung in Lovelace Eingabefeldern.
                        Vielen lieben Dank @Garfonso!

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate
                        FAQ Cloud / IOT
                        HowTo: Node.js-Update
                        HowTo: Backup/Restore
                        Downloads
                        BLOG

                        885
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        2
                        12
                        486
                        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