#triggered template binary sensor from calendar

1 messages · Page 1 of 1 (latest)

grand sinew
#

In other words, I think to make this work, I would need to replace the binary template with an automation and an input boolean, so the automation turns the helper ON based on the Trash day -X start time, and then another automation that turns it OFF after the window passes

#

the MQTT trigger has a way around this, using value_template in the trigger, so that the trigger only proceeds if the value_template matches the payload field

#

but calendar trigger does not seem to have a similar feature?

#

What I'm aiming for is a binary sensor to track "whether trash cans can/should be put out" - so for example it turns on at 5pm the night before trash day, and turns off at 11am of trash day. With a separate boolean representing whether the trash is currently out or not. That way, when the window starts and cans are not out, I can display a reminder on my dashboard to put the cans out; and when the window closes and the cans are still out, I can display another reminder to bring them in.

#

I want to do this using calendar, because sometimes they shift our trash day temporarily, such as for a holiday weekend. So I want to be able to shift just that one week's event to the new temporary pickup day, and have it just work