I have a scripted automation updating an helper sensor accordingly to
the status openClose on some contact physical sensor. The automation
looks like this:metadata: name: Porta ingresso handler description:
Scripted automation automations: - starters...