Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to exclude from *.* customize_glob? #109

Closed
Mariusthvdb opened this issue Feb 22, 2018 · 4 comments
Closed

option to exclude from *.* customize_glob? #109

Mariusthvdb opened this issue Feb 22, 2018 · 4 comments

Comments

@Mariusthvdb
Copy link

Mariusthvdb commented Feb 22, 2018

HI,

I use the

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

option in customize_glob. There is suspicion several entities don't behave as expected because of the customization. Could it be possible to have these excluded from the *.* for all?

a bit like in the Logger and logbook options:

exclude:
  sensor.dont_customize_1
  sensor.dont_customize_2

That way we can have the glob in place and be very precise which to exclude.

Cheers,
Marius

@tringler
Copy link

tringler commented Mar 1, 2018

I don't understand the question I think, because you can just override the *.* order by other definitions. In example after you applied

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

You can override it by:

input_text.bathroom_music_dummy:
  icon: mdi:cast
  custom_ui_state_card: state-card-mini-media-player

@Mariusthvdb
Copy link
Author

HI,

My issue has gone, but the question is still valid. I would like to un-customize independent globally customized entities, in the example an independent sensor.

What you do is override the customization with another customization. I seek to un-customize entirely.

@andrey-git
Copy link
Owner

To uncustomize just override the value with null:

"*.*":
  custom_ui_state_card: state-card-custom-ui
input_text.bathroom_music_dummy:
  custom_ui_state_card: null

@Mariusthvdb
Copy link
Author

Mariusthvdb commented Mar 16, 2018

thanks, very helpful. exactly what i hoped for.

@andrey-git just to be sure: do we use null in customize.yaml for the separate entity, or, as configured in my example, in customize_glob.yaml?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants