Skip to content

Scheduler skips first and last slots on single-day schedules #518

@lucamotta-canavisia

Description

@lucamotta-canavisia

Checklist

  • I checked for similar existing issues (both open and closed) before posting.
  • I will participate in further discussion about this issue and can help by testing (if requested).

Card Version

v4.0.11

Component Version

v3.3.8

Bug description

When creating a schedule for a single day (start = end), selecting multiple slots causes the first and last slots to appear empty, and the penultimate slot is never executed.

Steps to reproduce

  1. Create a schedule for a single day (start = end).
  2. Select multiple time slots throughout the day.
  3. Assign a simple action to each slot (e.g., change thermostat setpoint and set mode to “heat”).
  4. Ensure the first and last slots are empty

Additional info

Observed Behavior:

  • The first slot shows no actions.
  • The last slot shows no actions.
  • The penultimate slot is never executed.

Note: If the last slot is explicitly filled with an action (e.g., a different thermostat setpoint), all slots execute correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions