Sometimes I come across some nice themes for Home Assistant, and when I have used them myself for a period of time, I like to push them to all users in our Home Assistant. Default each user can change the theme in their user settings, and there is no general…
Tag: yaml
Get Home Assistant talking through Sonos speaker using Googles Text-To-Speech service
In our house we have different automations that use our Sonos speakers to say something. For example if Aurora (our daughter) opens her window, the speaker in the kitchen tells us. Our alarm also warns us if any intrusion is registred at night when we are sleeping. To do this…
Implementing house mode in your Home Assistant
One of the first things I did when starting up with Home Assistant was to create a solution for different house modes. Basically I wanted to be able to put the house in different modes, and these modes should be a huge part of how we automate our house. For…
Updating Home Assistant without anything breaking
One of my primary and very important goals working with Home Assistant is that I want to be able to update Home Assistant at any time without anything breaking in my setup, for example integrations, automations, scripts etc. I simply don’t want to have to do rework after an update,…
Split your configuration up in multiple files
After some time doing a lot of stuff in configuration.yaml, I found that I needed to make a much more clean setup, where things were split up in multiple files instead of all automations being in automations.yaml etc. Basically my configuration.yaml and automations.yaml files contained thousands of lines making them…
secrets.yaml – what is it for?
Home Assistant has a secrets.yaml file in the root folder of the configuration. The purpose of this file is to store usernames and passwords instead of having these set directly in the different YAML files. You can also store other things in the file, like IP-addresses, tokens etc. In your…
YAML, do you want to play with me?
Home Assistants configuration is build on YAML files, which many systems and platforms are using today when configuring. You can read much more about YAML on Wikipedia. In this post I will give you my experience with YAML, and hopefully give you some good advice if you are going to…