Convert away from default_config

Thanks for sharing your config. I’ve been looking for this as a config example and wondering why it doesn’t exist in the default_config documentation.

I’ve updated the list to include additional components added to default_config since your post.

# Skip default_config meta-component in favor of individual integrations
#default_config:

# Individual integrations included in default_config as of version 2022.2.5
# See https://www.home-assistant.io/integrations/default_config/
automation: !include automations.yaml
cloud:
config:
counter:
dhcp:
energy:
frontend:
history:
image:
input_boolean:
input_button:
input_datetime:
input_number:
input_select:
input_text:
logbook:
map:
media_source:
mobile_app:
my:
person:
scene: !include scenes.yaml
script: !include scripts.yaml
ssdp:
stream:
sun:
system_health:
tag:
timer:
updater:
usb:
webhook:
zeroconf:
zone:

Thanks for the spoon-fed info. Looks like there are some changes since 2022.2, so as of 2022.6 I had to use this (removed update, added backup):

# Individual integrations included in default_config as of version 2022.6
# See https://www.home-assistant.io/integrations/default_config/
automation: !include automations.yaml
backup:
cloud:
config:
counter:
dhcp:
energy:
frontend:
history:
image:
input_boolean:
input_button:
input_datetime:
input_number:
input_select:
input_text:
logbook:
map:
media_source:
mobile_app:
my:
person:
scene: !include scenes.yaml
script: !include scripts.yaml
ssdp:
stream:
sun:
system_health:
tag:
timer:
usb:
webhook:
zeroconf:
zone:
1 Like

You may want to add diagnostics

I don’t see any mention to “diagnostics” in the default_config documentation

Is your diagnostics working without adding it?

Yes, it is!
Looks like it’s built-in, and you cannot disable it

When it first appeared in HA I had to add it to get it working. Guess they made changes to default it built in then. Thanks

Here’s the list updated for 2022.12.8

# Individual integrations included in default_config as of version 2022.12.8
# See https://www.home-assistant.io/integrations/default_config/
automation: !include automations.yaml
backup:
bluetooth:
cloud:
config:
counter:
dhcp:
energy:
frontend:
hardware:
history:
homeassistant_alerts:
image:
input_boolean:
input_button:
input_datetime:
input_number:
input_select:
input_text:
logbook:
map:
media_source:
mobile_app:
my:
person:
schedule:
scene: !include scenes.yaml
script: !include scripts.yaml
ssdp:
stream:
sun:
system_health:
tag:
timer:
usb:
webhook:
zeroconf:
zone:

Remove backup for Home Assistant Operating System or Home Assistant Supervised as it’s built-in.

1 Like

What advantages are there by removing all the config components that you dont use???

Faster or just a case of not detecting spurious devices?

I remember getting rid of buttons etc I don’t use, like the media thing.

I made a custom component, that makes managing it simpler.

2 Likes