andrey-git / home-assistant-custom-ui

Custom UI elements for https://home-assistant.io
https://home-assistant.io
MIT License
526 stars 97 forks source link

where to put hide_attributes and columns: ? #123

Closed Mariusthvdb closed 6 years ago

Mariusthvdb commented 6 years ago

HI, saw these customizations but am unsure where to put them. I use the /config/www/custom_ui setup, and have a customize_glob.yaml. Like to hide the custom_ui_state_card: state-card-custom-ui on all entities being shown.

tried it in the _glob, below the

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

  hide_attributes:
    - custom_ui_state_card
  columns: 
    - 30
    - 500
    - 1000
    - 1500

with the result on all entities the hide_attributes is showing, next to the custom_ui_state_card: state-card-custom-ui id wanted to hide ;-)

also,

the columns setting seems out of place here.

Where do we place both please? Thanks, Marius

andrey-git commented 6 years ago

Those two options come under customizer: https://github.com/andrey-git/home-assistant-customizer

Mariusthvdb commented 6 years ago

sorry to get back on this: doesnt the hide_attributes: take out the mentioning of custom_ui_state_card: state-card-custom-ui in the dev-states attributes column?

still showing on all entities.

andrey-git commented 6 years ago

No, it only affects more-info. Dev-states shows everything.