Even though you seem to have your setup working regarding the file editing, you might consider using the HASS Configurator. It’s quite easy to setup and helps keeping the yaml-syntax correct since it’s showing you the whitespace characters.
2 Likes