Home assistant automations & scripts
Make your life easier & your home smarter
I will explain in Details ""
I will explain in details ""
Let's start with some basics
An automation usually consist of two or three different parts. These are: trigger, condition (which is optional) and action.
Triggers describe the events that should start the automation. *** With condition you can add additional tests to the trigger like time checks or state of the sun for example. *** The action will be performed when all conditions in trigger and conditions are met.
are sequence of actions that Home Assistant will execute.
Scripts can be standalone or can be embedded in automations. Basically the action part of an automation is a script.
Everything discussed here apply to both scripts and automations.
The automations & scripts can be created from the Home Assistant User Interface.
Or by editing the automations.yaml and scripts.yaml files