Skip to content

How do I use the attribute customize with the multiple source wrapper? #3109

Answered by 5ila5
s-b-n asked this question in Q&A
Discussion options

You must be logged in to vote

It should work exactly like with the normal sources but you need to put all customize entries in a single customize block with the same indent as args:

waste_collection_schedule:
  sources:
    - name: multiple
      args:
        bsr_de:
          abf_strasse: !secret bsr_street
          abf_hausnr: !secret bsr_house_number
        berlin_recycling_de:
          username: !secret berlin_recycling_user
          password: !secret berlin_recycling_password
      customize:
        - type: "5.01 Altpapier, gemischt"
          alias: "Papiermüll"
          icon: mdi:newspaper-variant
          use_dedicated_calendar: true
          dedicated_calendar_title: "waste_paper"
        - type: "Ab…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@s-b-n
Comment options

Answer selected by s-b-n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants