Creating your own automations
We will create two automations in this section using the Home Assistant automation editor. The first automation will use the two entities we created in Chapter 3 and Chapter 4 and the second automation will be using the off-the-shelf actuator we installed using an application integration in Chapter 4.
The Home Assistant automation editor can be accessed by clicking on Settings | Automations & Scenes. The automations can be created using the Automations tab. In the next subsections, we will detail how to create the two automations.
Automation 1 – convenient light for your garage
The first automation we will create was the first I created in my home. I created it because my street at night is very dark; there is no public light. I wanted my garage lights to turn on when I arrive home at night on the weekend with my family. This would help me to unload everybody from the car safely.
The automation is very basic and can be explained...