Customize: !include customize.yaml causing an error in the config

For various reasons I am having to rebuild my Hassio system from scratch, It was 18 months or so since I first built it, and renaming Zwave Nodes and entities seems even more obscure then it used to be, but I “thought” I was starting to work out how it works.
Changing the name of the Node in Customize gives me this notice on the screen

“It seems that your configuration.yaml doesn’t properly include customize.yaml
Changes made here won’t affect your configuration.”

Fair enough, so I added customize: !include customize.yaml to the Config file to give this config

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Sensors
sensor:
  # Weather prediction
  - platform: yr

# Text to speech
tts:
  - platform: google_translate

customize: !include customize.yaml
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

(This is actually the config from another fresh build that I made to try and work out what was going on, in this case I added a customisation to the User)
When I check the config file I get the following error

" Configuration invalid

Integration not found: customize"

I have checked the release notes and i cannot find anything related to this so at the moment I am a bit lost. I am sure the answer is blindingly obvious but …
Thanks for any help

1 Like

Customize needs to be in homeassistant.

homeassistant:
  customize: !include customize.yaml

two spaces intended.

16 Likes

Yep that’s fixed it. thank you

Curious as to why the other includes are fine and also that it is not included in the “standard issue” config file but hey-ho.

Thanks once again for the very prompt help.

Customize is part of core hence under homeassistant. Same as packages and a few other things.

3 Likes

Edit: I shouldn’t be commenting when I’m angry and I had this problem.

1 Like

Same issue here… Does that replace the default at the top?

No. Why do people keep thinking it needs to be replaced? Honestly I haven’t seen a single article suggesting that it ever needs to be removed or replaced, yet repeatedly people keep asking the same question. I’m not being funny, just curious what made you think that it needs to be replaced with anything?

Just add the text @VDRainer posted to your configuration.yaml, do not remove anything unless you want to remove that functionality.

2 Likes

Hi,

when i do add this line to the configuration.yaml file as see below:

Text to speech

tts:
platform: google_translate

group: !include group.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

Themes

frontend:
themes: !include themes.yaml

Customization
homeassistant:
customize: !include customize.yaml

i get this error

extra keys not allowed @ data[‘customize’][‘homeassistant’]

10:40:22 PM – Hass.io (ERROR)

any help would be appreciated!

Not sure if it’s a formatting issue here on the forum…but if your configuration.yaml looks just like what you posted in that code window, your indentation is off. It should look like this:

homeassistant:
  customize: !include customize.yaml

Hi,

yes, the formatting int he forum is off. my indentation is exactly as you mentioned. Infact, yesterday, I had HomeAssistant crash on me and boot up in safe mode. It only went back to normal when i deleted the code from the config.yaml file.

update: HA just updated and it fixed itself. its working fine now!

hello, i add in my configuration.yaml

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
shopping_list:
homeassistant:
  customize: !include customize.yaml

but still have error

Configuration invalid

                          extra keys not allowed @ data['customize']['homeassistant']

what i doing wrong ?

What have you got in your customize.yaml?

this one

customize:
  person.tosho_yankov:
  entity_picture: /config/www/pics/tosho.jpg

Remove customize from the top, move person.tosho to the far left edge, leave entity_picture indented 2 spaces.

Great ! Thank you it is work now.
One more question. How to understand file structure in my home assistant server.
i use Ubuntu and my configuration.yaml and customize.yaml files are located in :

/usr/share/hassio/homeassistant

So when i point /local/www/pics/tosho.jpg in some config file , actually it is located in

/usr/share/hassio/homeassistant/www/pics/tosho.jpg

and physically file is located in:

/usr/share/hassio/homeassistant/www/pics

but the picture is not showing. Obviously something is wrong.

When you reference it you don’t say www you say local. Also should not use the ful path.

/local/pics/to show.jpg
1 Like

Thank you. Works !

I have some trouble with HA not seeming to be able to write to customize.yaml file anymore. :confused:

I had somehow managed to put data in there through the UI. But I had not enabled the integration. Now that I try to do so. It throws warning that my integration is not setup. But I can not see any problem. And nothing is ever written to the file in the first place.

I have checked that all r/w permissions are in order. It is driving me bonkers. Help please. I did go into the file to delete the previous entry.

See attatched screen prints:!

Screenshot 2021-01-02 at 17.32.36 Screenshot 2021-01-02 at 17.33.11

Screenshot 2021-01-02 at 17.49.09

But the file is completely empty. :laughing: :upside_down_face:

It is not loading the integration. Am I just too tired that I am missing something?

Hello,

Seems like you could help me (NEWBIE) as well. I can not figure out what I am doing wrong on my configuration and customize.

In my configuration I have added:

homeassistant:
  customize: !include customize.yaml

Customize is 2 spaces indent

In my customize.yaml (stored un der config dir) i have tried:
1:

homeassistant:
  name: Home
  unit_system: metric
  # etc

  customize: # Add an entry for each entity that you want to overwrite.
    sensor.solaredge_current_power:
    friendly_name: Zonepanelen huidig vermogen

2:

homeassistant:
  name: Home
  unit_system: metric
  # etc

sensor.solaredge_current_power:
  friendly_name: Zonepanelen huidig vermogen

I keep getting:
extra keys not allowed @ data[‘customize’][‘homeassistant’]

PS this is all because I am lookingto get a solution for my Solar edge entities which all show:
This entity (“sensor.solaredge_current_power”) does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more detail.