Merge pull request #3995 from scop/customize-yaml-message

Improve customize.yaml non-inclusion warning message
This commit is contained in:
Bram Kragten 2019-10-14 21:27:07 +02:00 committed by GitHub
commit ce6a97d065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,9 +26,14 @@ class HaFormCustomize extends PolymerElement {
if="[[computeShowWarning(localConfig, globalConfig)]]"
>
<div class="warning">
It seems that your configuration.yaml doesn't properly include
customize.yaml<br />
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
configuration reload unless the include is in place.
</div>
</template>
<template is="dom-if" if="[[hasLocalAttributes]]">