Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. Kleiner Fehler in adapter-settings.js

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Kleiner Fehler in adapter-settings.js

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

      Ich hoffe hier ist der richtige Platz:

      in adapter-settings.js steht ab Zeile 1096:

      `if (names[i].name === 'room') {
                                  options = $table.data('rooms');
                              }
                              else {
                                  options = names[i].options;
                              }` 
      
      richtig wäre aber:
      `~~[code]~~if (names[i].name === 'room') {
                                  options = $table.data('rooms');
                              } else if (names[i].name === 'func') {
                                  options = $table.data('functions');
                              } else {
                                  options = names[i].options;
                              }` 
      
      sonst werden die
      `~~[code]~~enum.functions[/code]`
      nicht ausgelesen und in der Table angezeigt.
      
      Beste Grüße
      
      Carsten[/i][/i][/i][/code][/i][/i]
      
      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Ich habs im Github mal geändert …kannst also gern mit der Version mal testen ... aber Bluefox sollte dazu noch was sagen

        https://github.com/ioBroker/ioBroker.ad ... 98442f7eec

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

        Support us

        ioBroker
        Community Adapters
        Donate

        930
        Online

        31.7k
        Users

        79.8k
        Topics

        1.3m
        Posts

        2
        2
        896
        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