One Time Turn Off

I have a light switch which is part of a group that I turn on and off every evening.

One evening coming up, I would like to turn off this light switch - so I’m looking for a simple automation to turn this light switch off at a certain time and certain date.

Sorry, noob here (or at least that’s my knowledge level) - any help would be welcomed.

Thanks!

Can you be more specific ?
i.e you turn this on every day, and you want this light to be turned of the " 9th of november at 22.30" ?

Yes, it is part of a group that gets turns on every day before sun down.

So I want to turn it off as you say on a specific date & time.

Thanks

Ok, i think it would be best if you install the native “calendar-integration” there you can specify events

It doesn’t matter if this entity-light is part of a group, you just turn_off this particular entity ( unless you have some script/automation/conditions “attached to this group” which will react in a “negative/unwanted” way, if you turn off 1 entity)

So basically turn_on your group, as usual, create an event/events in your calendar, for triggering an automation) turning off individual entities, a certain Date/Time, ( add “If on” in the automation/template, just no point in firing, if the light is off already, for some reasons)

This way you can keep creating various automations, which you “manually” can trigger from Calendar-events, when suited ( you might want to turn_of this light again some day, then create a new calendar-event and point to the same automation, as you have already made )

EdiT: Automation
Trigger: platform-Calendar-event-start
Action: …

Well there is an example in the Calendar-Docs , for exactly your use-case :slight_smile:

Thanks - that works in testing. I wasn’t using the calendar integration for anything but I can see opportunity!

1 Like

Yes i also didn’t use the calendar until recently, i got the idea i could use it for this( random/various future events ) as i began to doubt that we ever get rid of i.e Summer/Wintertime, and also tend to forget which date it is this year, and next time/spring.
But ofcause if it’s really is a “One Time Turn OF” one could write a “complicated” input-template-sensor, but i couldn’t figure out how to turn on a heating-pump a specific day/Time, so the Calendar became my “lazy” approach :slight_smile: , as i thought, naaa it’s not just a OneTimer :slight_smile: