Skip to content

Improve customize.yaml non-inclusion warning message#3995

Merged
bramkragten merged 3 commits into
home-assistant:devfrom
scop:customize-yaml-message
Oct 14, 2019
Merged

Improve customize.yaml non-inclusion warning message#3995
bramkragten merged 3 commits into
home-assistant:devfrom
scop:customize-yaml-message

Conversation

@scop
Copy link
Copy Markdown
Member

@scop scop commented Oct 13, 2019

Link to relevant docs, note that changes won't be applied after a
restart if the include isn't in place (changes do actually affect the
current runtime configuration and are persisted in customize.yaml).

Link to relevant docs, note that changes won't be applied after a
restart if the include isn't in place (changes _do_ actually affect the
current runtime configuration and are persisted in customize.yaml).
Changes made here won't affect your configuration.
It seems that your configuration.yaml doesn't properly
<a href="https://www.home-assistant.io/docs/configuration/customizing-devices/#customization-using-the-ui" target="_blank">include customize.yaml</a>.<br />
Changes made here are written in it, but will not be applied after a
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the after a restart it is not necessary to do a restart when making changes through the UI. (and there is a service for reloading customize homeassistant.reload_core_config)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing that will send the wrong message. Pretty much the whole point of this change is that changes are applied immediately. But I'll change that to "after a configuration reload".

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry missed the part about current run time, that would actually be a bug I think...

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine as is, just the warning message needs a tweak.

Copy link
Copy Markdown
Member

@bramkragten bramkragten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK to merge when travis passes.

@bramkragten bramkragten merged commit ce6a97d into home-assistant:dev Oct 14, 2019
@scop scop deleted the customize-yaml-message branch October 14, 2019 19:27
@bramkragten bramkragten mentioned this pull request Oct 23, 2019
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants