andrey-git / home-assistant-customizer

Companion component for home-assistant CustomUI
MIT License
32 stars 32 forks source link

Square brackets in columns parameters, should be list? #3

Open nicmar opened 6 years ago

nicmar commented 6 years ago

The code on this page (https://github.com/andrey-git/home-assistant-customizer/):

columns: 350, 700, 1050, 1400, 1850, 2100

Doesn't seem to work, when I check config says it needs a list. When I changed it to: columns: [350, 700, 1050, 1400, 1850, 2100]

The config was accepted. However I don't see any changes to any of my cards, after I added this to the config:

homeassistant:
  customize_glob:
    "*.*":
       custom_ui_state_card: state-card-custom-ui

customizer:
  custom_ui: local
  columns: [500, 1000, 1500, 2000, 2500, 3000, 3500]

Did I miss something?

andrey-git commented 6 years ago

Sorry - I missed this issue earlier. You are right, brackets are needed. I have updated the docs.

It should affect the number of columns. Did you try resizing the window with/without the columns attribute?