Home Assistant automation basics: the trigger and condition part that trips everyone up
Once Home Assistant is installed and a few devices are connected, the next screen you meet is automations. Open automations in settings and you get three sections: When, And if, and Then. On the first pass it is not obvious what belongs where, and I stayed stuck on that screen for a while. My first attempt was an entry light that should come on when the door opened. It never did, and I spent the next morning working out why. The condition was sitting in the trigger slot, so there was nothing for it to check against. ...