#Looking for hints on automations

1 messages · Page 1 of 1 (latest)

uneven dirge
#

Hi there!

I have a couple of questions that I'm hoping you guys can answer:

  1. I have an automation to enable the exterior lights around my house. I would like this to trigger at 5a on weekdays, and 30 minutes before sunrise on other days. Could someone point me in the right direction for this? I can see how to add multiple triggers, and "and if" clauses, but I don't see how to combine those into mutually exclusive actions. I have both triggers working independently, but not together.

  2. How can I trigger automations using voice assistant? I've created scripts and can make those run, but those have their own issues; mainly that they're stateless and so something like "turn on" doesn't really make sense if you're turning off lights.

Thank you for any help you can offer!

cursive briar
uneven dirge
#

I'd seen the bit about datetime helpers, but it looked like those were exclusively YAML based. I'm not entirely opposed to that, but I felt like that was a common enough task that I likely was missing something more obvious. I'll take a look at that schedule integration.

I will also take a look at the intent scripts.

Thank you for your information!

signal bone
#

They are not exclusively yaml. You can set them up in the UI.