Hi, well I didn’t describe the automation I have because I didn’t know it mattered, as the only thing I wanted to do is add a condition to it to prevent it to run on a certain day. Anyway, here it is
as: "Apagar luces salón "
description: todas las luces del salón
triggers:
- trigger: time
at: "00:30:00"
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
conditions:
- condition: template
value_template: "{{ not (now().month == 12 and now().day in [24, 31]) }}"
actions:
- action: light.turn_off
metadata: {}
target:
area_id: salon
data: {}
mode: single
As you can see I have added the template option as condition, and it works.
The point of keepIng asking is just curious about calendar event you mentioned, as I strugled to make it work and never suceeded, just that.
Anyways, as you explain, what I don’t understand is the point in creating two aditional automations to stop and start the previous one…
Isn’t it the same adding a condition, and simpler?
And also, what I don’t get, and here comes the curiosity thing, how do you use a calendar event?, because I previously said I am unable to use it. The first thing I did was to create an event in the local calendar for all day on 12/24 but i found no entity to use, that is the primary doubt.
For the rest, yes and thank you, I am able to use the search function, which I did.
Sometimes you search, you write down a word or sentence which shows results not according to your needs. And you replace them to get a better result, somtimes you get what you want others you don’t. That’s why I am asking here.