bob1de / hass-apps

Some useful apps and snippets to empower Home Assistant and AppDaemon even more.
Apache License 2.0
85 stars 23 forks source link

Request: rescheduling delay #75

Open rickytenzer opened 2 years ago

rickytenzer commented 2 years ago

Love Schedy! I have my baseboard heater schedules setup with presence sensing as well as outdoor temperature checks (they will turn off if the temp is above 10 C). I've also implemented rescheduling delays that work amazingly.

There is one thing that I can't figure out and maybe it's impossible: if the temperature is above 10 (meaning that the heaters are OFF), if I turn them back on for specific cases, I'd like for them to turn back to their previous state (OFF) after the set time, but that doesn't happen. I can probably circumvent this issue by dropping the temperature instead of turning them off, but I prefer them to be off.

How can I achieve this? Code below:

schedy_heating: module: hass_apps_loader class: SchedyApp

actor_type: thermostat

watched_entities:

CyrielRct commented 1 year ago

This feature would be really appreciated ! +1

rickytenzer commented 1 year ago

I circumvented this by keeping the heaters on but setting the baseline temperature to 15, meaning they would be effectively off.

CyrielRct commented 1 year ago

There is actually a way of doing it with HA - create a binary_sensor with delay who mirrors your initial binary_sensor.

But it would be better that schedy manage it directly.

binary_sensor: - platform: template sensors: garage_door_delayed: friendly_name: "Delayed Garage Door" #window_room: bedroom delay_on: seconds : 180 delay_off: seconds: 360 value_template: >- {{ is_state('binary_sensor.porte_garage', 'on') }} icon_template: >- {% if is_state('binary_sensor.porte_garage', 'on') %} mdi:door-open {% else %} mdi :door-closed {% endif %}

Le dim. 1 janv. 2023 à 22:18, rickytenzer @.***> a écrit :

This feature would be really appreciated ! +1 I circumvented this by keeping the heaters on but setting the baseline temperature to 15, meaning they would be effectively off.

— Reply to this email directly, view it on GitHub https://github.com/bob1de/hass-apps/issues/75#issuecomment-1368628733, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6Z5DIPDSWADAMMUHTJ6ITWQJCIFANCNFSM5TI4MNHQ . You are receiving this because you commented.Message ID: @.***>