IF THEN ELSE type functionality

Is it possible to make an automation/script that will do X action based on condition 1 and Y action based on condition 2 via the UI? I’m trying to avoid YAML :slight_smile:

yes its known choose

Script Syntax - Home Assistant

So it can’t be done in the UI without dropping into the YAML?

It’s possible. See here-

3 Likes

Choose is one of several Action types available in the Automation Editor.

Ninja’d by ardysusilo!

3 Likes