Automation runs via Siri Shortcut despite conditions not being met

I’ve got a small automation that should only run in december and January (Winter time in Holland) and only in the morning hour.

Because my girlfriend so now and then uses the alarm during the day, I have to conditions in this automation.

  • It has to be december or january AND
  • it has to be between 05.00 and 08.00

In Siri Shortucts I’ve got a little automation that runs when the alarm is turned of.

The Siri Shortuct automation works and fires the automation in Home Assistant, but then the problem is that it runs, also if the conditions are not met. When it’s 08.40 (screenshot) the automation also runs.

What is going wrong here?

See as you don’t have a trigger I’m assuming you are just using Siri Shortcuts with the automation.trigger service.

automation.trigger has a parameter called skip_condition which defaults to true so you will want to make sure that you add skip_condition: false in your siri shortcut.

FYI you can also do this with a script rather than an automation (scripts can also take conditions)

1 Like

Thanks. That worked!