dadge / awesome_thermostat

An awesome thermostat with preset mode management + windows opening management + activity sensor management
MIT License
51 stars 8 forks source link

I'd like "motion delay" to work both ways #2

Open tigers75 opened 2 years ago

tigers75 commented 2 years ago

Is your feature request related to a problem? Please describe. I have a room that has an entrance so I don't need it to be instantly warmed up everytime there is motion, but only if motion lasts more than X minutes.

Describe the solution you'd like I'd like to have an option for a motion_delay_start together with the motion_delay[_stop] that already exists. The room should start to warm up only if motion is detected for more than let's say 5 minutes and not immediately as soon as someone triggers the motion sensor.

Describe alternatives you've considered I could maybe do that with a dummy binary_sensor that turns on only if the real sensor is repeatedly triggered and feed that dummy sensor to awesome_thermostat, but I think it'd be much cleaner to have it integrated also because other might benefit for it.

Additional context Add any other context or screenshots about the feature request here.

Nuuki9 commented 1 year ago

I'd like this feature too. Its pretty common that we'll briefly go into a room that's not in general use at the time e.g. to grab an item from a bedroom during the day. Having the room immediately call for heat in that situation isn't ideal, and being able to define a period for which the room must remain in use before switching to the "occupied" preset would be ideal.