Home Assistant default_config

At some point during your Home Assistant journey you will probably want to replace the default_config: line in your configuration.yaml file with a config of your own.

I didn't manage to find a replacement for the default_config: oneliner in the internet, so I made this config based on the default configuration help page. Just replace the oneliner with all this and the configuration should stay the same. 

Note that in the case of Home Assistant changing the default config, this post will become outdated, so be sure to give the help page a glance before you do that.

If some of these entries are already present in your config, remove or comment them with the hash character #, for example #script: instead of script:

If you're running Home Assistant OS, then comment or remove the backup: entry, or you will get an error in the logs. That entry isn't supported on the HAOS due to HAOS having a slightly different backup system. However, you will be able to do backups just fine without it.

Here is the config.

automation:
backup:
bluetooth:
config:
conversation:
counter:
dhcp:
energy:
frontend:
hardware:
history:
homeassistant_alerts:
cloud:
image_upload:
input_boolean:
input_button:
input_datetime:
input_number:
input_select:
input_text:
logbook:
logger:
map:
media_source:
mobile_app:
my:
person:
schedule:
scene:
script:
ssdp:
stream:
sun:
system_health:
tag:
timer:
usb:
webhook:
zeroconf:
zone:

Comments

Popular posts from this blog

Home Assistant on a Raspberry Pi 4 with an SSD

Changing the crontab editor in Home Assistant SSH terminal

Adding the system monitor sensors to Home Assistant