nielsfaber / scheduler-component

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

Incorrect processing of weekends during the week, according to the Workday Sensor #271

Closed roiksv closed 1 year ago

roiksv commented 1 year ago

Checklist

Expected behavior

Correct work of the schedule in conjunction with the Workday Sensor

Actual behavior

Incorrect processing of days off during the week (for example, Monday), manually entered in the Workday Sensor list (the Workday Sensor works correctly, Monday is a day off). When switching from Sunday to Monday, it works according to the weekend schedule. The bug appears if you reboot the Home Assistant on that day (Monday, manually entered in the Workday Sensor list) - everything works according to the working day schedule. If, after downloading Home Assistant, the integration is rebooted, everything works according to the weekend schedule.

Steps to Reproduce

Add day off in the middle of the week in Workday Sensor, restart Home Assistant

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days