nielsfaber / scheduler-card

HA Lovelace card for control of scheduler entities
GNU General Public License v3.0
922 stars 117 forks source link

scheduler with scheme for a single day: it runs only the first timeslot #789

Closed giopeco closed 8 months ago

giopeco commented 10 months ago

Checklist

Card Version

v3.2.12

Component Version

v3.3.0

Bug description

Hi, I've benn using scheduler + scheduler card with no problems with schedules + scheme that repeat on a daily/weekly. If I try to set a schedule + scheme and set in option panel period of a single day, on the day the system does only the first timeslot, then the schedule goes at the bottom of the list and nothing else happens at 2nd, 3rt, ..., timeslot.

Steps to reproduce

  1. Create a new schedulercard
  2. select the entity (e.g. climate)
  3. add a new one
  4. choose scheme
  5. set a scheme (e.g. 00:00-08:00 heat 18°C; 08:00-10:00 heat 20°C; 10:00-12:00 OFF; 12:00-23:59 heat 16:00)
  6. on option set a single day and delete after

on the chosen day this happens:

you can see the In the card you can see the schedule that moves down to the end of the list, but the toggle is still on

if you try to modify the schedule and save, it moves on the top of the list and then oes the first timeslot set, that again stops working as described above.

Additional info

No response

giopeco commented 10 months ago

Partially solved:

I've noticed:

To "solve" schedule bug on single date:

the problems seems to be when last day is the same of first day of schedule.

github-actions[bot] commented 9 months 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