Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Lovelace Card für TrashSchedule Adapter

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Lovelace Card für TrashSchedule Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LastActionHero @cookingeek last edited by

      @cookingeek bin gespannt! habe deinen code oben kopiert und nur meine entities namen angepasst.

      type: custom:auto-entities
      card:
        type: horizontal-stack
      card_param: cards
      filter:
        include:
          - entity_id: sensor.altpapier_daysLeft
            options:
              type: custom:trashschedule-card
              locale: de-DE
              trashtype: Altpapier
              trashcolor: sensor.altpapier_color
              daysleft: sensor.altpapier_daysLeft
              date: sensor.altpapier_nextDate
          - entity_id: sensor.bioabfall_nextDate
            options:
              type: custom:trashschedule-card
              locale: de-DE
              trashtype: Bioabfall
              trashcolor: sensor.bioabfall_color
              daysleft: sensor.bioabfall_daysLeft
              date: sensor.bioabfall_nextDate
          - entity_id: sensor.restabfall_daysLeft
            options:
              type: custom:trashschedule-card
              locale: de-DE
              trashtype: Restmüll
              trashcolor: sensor.restabfall_color
              daysleft: sensor.restabfall_daysLeft
              date: sensor.restabfall_nextDate
          - entity_id: sensor.gelberSack_daysLeft
            options:
              type: custom:trashschedule-card
              locale: de-DE
              trashtype: Recycling
              trashcolor: sensor.gelberSack_color
              daysleft: sensor.gelberSack_daysLeft
              date: sensor.gelberSack_nextDate
      sort:
        method: state
        numeric: true
      
      C 1 Reply Last reply Reply Quote 0
      • C
        cookingeek @LastActionHero last edited by

        @lastactionhero Mir fällt auf, dass deine Entity_Id bei Bioabfall nextDate ist.

        L 1 Reply Last reply Reply Quote 0
        • C
          cookingeek @David G. last edited by

          @david-g Bei dir ist die Entity id bei Gelber Sack nicht auf DaysLeft von Gelber Sack.

          1 Reply Last reply Reply Quote 1
          • L
            LastActionHero @cookingeek last edited by

            @cookingeek Danke!!! Wald vor Bäume... usw. Jetzt funktioniert alles wie es soll!

            1 Reply Last reply Reply Quote 1
            • S
              Shakesbier @cookingeek last edited by

              @cookingeek Hi.

              Bin glaube ich gerade bisschen neben der Spur?
              Muss ich im Iobroker ein javascript erstellen?

              Ich bekomme da den Fehler:

              script.js.Trashschedule-Card: ReferenceError: HTMLElement is not defined

              Danke schon mal.

              Gruß

              Shakesbier

              C 1 Reply Last reply Reply Quote 0
              • C
                cookingeek @Shakesbier last edited by

                Hi @shakesbier,

                was hast du denn gemacht? Glaube es ist ein Konfigurations Thema.

                Kannst du die Card Konfiguration und ein Screenshot der Objekte mal rein posten?

                Viele Grüße
                Cookingeek

                S 1 Reply Last reply Reply Quote 0
                • S
                  Shakesbier @cookingeek last edited by

                  @cookingeek Hi.

                  So ist es aktuell eingestellt.Screenshot 2025-01-12 122053.png Screenshot 2025-01-12 121959.png Screenshot 2025-01-12 121824.png

                  David G. 1 Reply Last reply Reply Quote 0
                  • David G.
                    David G. @Shakesbier last edited by

                    @shakesbier

                    Hast du die Karte denn runtergeladen und installiert?

                    Laut dem roten Text nicht.

                    C S 2 Replies Last reply Reply Quote 0
                    • C
                      cookingeek @David G. last edited by

                      @david-g danke. Wäre auch meine Frage gewesen.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Shakesbier @David G. last edited by

                        @david-g Hi.
                        Das war es.... Oh man... Bin neu bei Lovelace und hätte mir mal die Lovelace Anleitung durchlesen sollen.
                        Danke euch.... Top

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          cookingeek @Shakesbier last edited by

                          @shakesbier Optimal.

                          1 Reply Last reply Reply Quote 0
                          • Leszek Ceglarek
                            Leszek Ceglarek last edited by

                            Hallo. Ich kann die karte über "eingene karten" nicht instalieren. Gibt auch andere weg?

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              cookingeek @Leszek Ceglarek last edited by

                              @leszek-ceglarek was funktioniert nicht? Wenn man die Reihenfolge sortiert haben möchte, benötigt man zwei Karten

                              1 Reply Last reply Reply Quote 0
                              • Leszek Ceglarek
                                Leszek Ceglarek last edited by

                                Funktioniert. Habt falsch runtergeladen. Danke für schnelle Reaktion.

                                1 Reply Last reply Reply Quote 0
                                • simatec
                                  simatec Developer Most Active @cookingeek last edited by simatec

                                  @cookingeek sagte in Lovelace Card für TrashSchedule Adapter:

                                  @lastactionhero habe eine Lösung. Umgesetzt mit der https://github.com/thomasloven/lovelace-auto-entities/tree/master card.

                                  Viel Spaß damit.

                                  Beispiel:

                                  type: custom:auto-entities
                                  card:
                                    type: horizontal-stack
                                  card_param: cards
                                  filter:
                                    include:
                                      - entity_id: sensor.altpapier_daysLeft
                                        options:
                                          type: custom:trashschedule-card
                                          locale: de-DE
                                          trashtype: Altpapier
                                          trashcolor: sensor.altpapier_color
                                          daysleft: sensor.altpapier_daysLeft
                                          date: sensor.altpapier_nextDate
                                      - entity_id: sensor.restabfall_daysLeft
                                        options:
                                          type: custom:trashschedule-card
                                          locale: de-DE
                                          trashtype: Restmüll
                                          trashcolor: sensor.restabfall_color
                                          daysleft: sensor.restabfall_daysLeft
                                          date: sensor.restabfall_nextDate
                                      - entity_id: sensor.bioabfall_daysLeft
                                        options:
                                          type: custom:trashschedule-card
                                          locale: de-DE
                                          trashtype: Bioabfall
                                          trashcolor: sensor.bioabfall_color
                                          daysleft: sensor.bioabfall_daysLeft
                                          date: sensor.bioabfall_nextDate
                                      - entity_id: sensor.gelberSack_daysLeft
                                        options:
                                          type: custom:trashschedule-card
                                          locale: de-DE
                                          trashtype: Recycling
                                          trashcolor: sensor.gelberSack_color
                                          daysleft: sensor.gelberSack_daysLeft
                                          date: sensor.gelberSack_nextDate
                                  sort:
                                    method: state
                                    numeric: true
                                  

                                  Gab es hier Änderungen bei der auto-entities oder trashschedule-card? Die Konfiguration zeigt mir so erstmal nichts an.
                                  Eine Fehlermeldung gibt es allerdings auch nicht. Baue ich das ohne auto-entities, zeigt er alle Termine an.

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

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  466
                                  Online

                                  32.0k
                                  Users

                                  80.5k
                                  Topics

                                  1.3m
                                  Posts

                                  9
                                  53
                                  4673
                                  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