nielsfaber / scheduler-component

Custom component for HA that enables the creation of scheduler entities
GNU General Public License v3.0
655 stars 41 forks source link

Offset time for triggering action #138

Closed lunjoa closed 2 years ago

lunjoa commented 3 years ago

Checklist

Proposal

Ability to offset time for triggering actions with value template.

Additional info

When I schedule an action at a certain time I would like to actually trigger the action earlier with a calculated offset. Use case is for example a car heater: The heater takes some time to warm up the cabin. The time needed depends on the temperature difference of the actual temperature and the wanted temperature. The scheduler is set to departure time. The scheduler calls the action x minutes earlier to get the car warmed up in time for the user's set departure time.

nielsfaber commented 2 years ago

I think this will over complicate this scheduler. I don’t feel like adding this functionality.