Home Assistant 2022.9.1 - Helpers - Schedule crashed or bug?

Hi there,

I was playing around with a new Helper Schadule in Home Assistant 2022.9.1. I create and delete a couple of them and they worked just fine.
But now it looks like I cant create a new one at all. I get this error message:

*Overlapping times found in schedule for dictionary value @ data['thursday']. Got [{'from': '2:00', 'to': '5:00'}, {'from': '2:30', 'to': '5:00'}, {'from': '1:30', 'to': '6:00'}, {'from': '2:30', 'to': '5:00'}] Overlapping times found in schedule for dictionary value @ data['wednesday']. Got [{'from': '03:00:00', 'to': '05:00:00'}, {'from': '07:00:00', 'to': '11:30:00'}, {'from': '1:30', 'to': '4:00'}, {'from': '1:30', 'to': '4:00'}, {'from': '2:00', 'to': '3:00'}, {'from': '2:00', 'to': '5:00'}]*

The calendar week view is empty. I deleted all other Schadule helpers and also reboot the HA.
After dragging time slot it will not stay on the Schadule page and will disappear if I try to add another one.

I’m not sure how to go about al this and I’m also new to Home Assistant.

Gr,

3 Likes

Hi there,

I have the same issue. Reverted back to the 2022.9.0 and the scheduler reproducing the same issue (calendar week view empty and impossible to add dates).
The schedules that I created prior are still working though.

Thanks,

1 Like

I have exactly the same issue.

same problem.

Same here as well. Also when trying to add multiple time slots on different days. Only able to choose one.

Same issue. All automations depending that new helper are useless. Hope it will be fixed soon.

I have the same problem, i created a weekly schedule with 2022.9.0 version and it stll schedules the automation in the correct timeline but when i try to modify it, all fields are not showing. I changed different browser but the problem is the same also with companion app.

I found the same problem as @Yoinkz with not being able to select multiple times/days when creating via the UI. I ended up just creating my schedule using YAML directly in my configuration.yaml.

Hello Timnolte,
Could you give an example of your schedule using the Configuration.yaml?
I guess you cannot use it as helper, can you?

Thx,

@k2vintout here is my YAML for the schedule I created in the configuration.yaml.

# Manual Schedules
schedule:
  pool_pump_schedule:
    name: "Pool Pump Schedule"
    icon: "mdi:clock"
    monday:
      - from: "02:00:00"
        to: "04:00:00"
      - from: "08:00:00"
        to: "10:00:00"
      - from: "14:00:00"
        to: "16:00:00"
      - from: "20:00:00"
        to: "22:00:00"
    tuesday:
      - from: "02:00:00"
        to: "04:00:00"
      - from: "08:00:00"
        to: "10:00:00"
      - from: "14:00:00"
        to: "16:00:00"
      - from: "20:00:00"
        to: "22:00:00"
    wednesday:
      - from: "02:00:00"
        to: "04:00:00"
      - from: "08:00:00"
        to: "10:00:00"
      - from: "14:00:00"
        to: "16:00:00"
      - from: "20:00:00"
        to: "22:00:00"
    thursday:
      - from: "02:00:00"
        to: "04:00:00"
      - from: "08:00:00"
        to: "10:00:00"
      - from: "14:00:00"
        to: "16:00:00"
      - from: "20:00:00"
        to: "22:00:00"
    friday:
      - from: "02:00:00"
        to: "04:00:00"
      - from: "08:00:00"
        to: "10:00:00"
      - from: "14:00:00"
        to: "16:00:00"
      - from: "20:00:00"
        to: "22:00:00"
    saturday:
      - from: "02:00:00"
        to: "04:00:00"
      - from: "08:00:00"
        to: "10:00:00"
      - from: "14:00:00"
        to: "16:00:00"
      - from: "20:00:00"
        to: "22:00:00"
    sunday:
      - from: "02:00:00"
        to: "04:00:00"
      - from: "08:00:00"
        to: "10:00:00"
      - from: "14:00:00"
        to: "16:00:00"
      - from: "20:00:00"
        to: "22:00:00"

And yes this will still show up as a helper and can be used in an automation. I have done it like so:

platform: state
entity_id:
  - schedule.pool_pump_schedule
from: "off"
to: "on"
id: pool-pump-scheduled-run

Manually adding schedules to the configuration.yaml is documented here:

There was an update to Home Assistant (2022.9.2) today, after this update I could use the schedule as intended.

1 Like

Hi,
I had the same problem yesterday, even beeing on 2022.9.2
Today it miraculously works as expected.
The same problems with the date/time helper which also works a day later.

Is it possible it needs to be installed a day before you can use it? (Just a guess)
There is at least something fishy going on there.
Cheers

Indeed, after upgrading to 2022.9.2 it didn’t work but it looks like working one again … strang.

Usually you get a notification about UI updates that require a refresh, I wonder if there was some issue with that perhaps. Now I have to figure out how to manage migrating my manual schedule from the configuration.yaml back into to the UI management. :man_shrugging:

I’m on 2022.9.4 and the helper I created on an earlier version (not sure which one) is working in my automation, but when I open it in the UI it just shows an empty schedule instead of the actual time slots I set up. Hence I can’t modify it.

If I try to create a new one I get the same error message as the original post in this thread by Unisubzero.

Just thought I’d chime in with the same issue here but also running Home Assistant 2022.9.6. I can create new helpers and although the UI elements disappear as soon as I create them, the resulting schedule is functional (and uneditable, or at least it doesn’t seem that I can remove unseen from/to definitions). I also have this happening in the UI via Chrome & HA app on Android.

Looking forward to a fix! This scheduler helper is already pretty powerful, and one day when it has attributes or custom states, that will be a game changer for a number of my complex scheduling automations.

I currently have the same issue, too on the latest version.

I can’t help but notice that all issue reports on this thread were on a sunday. Maybe this is a problem with the UI where it does not work specifically on sundays?

It’s a bug i guess: Scheduler not adjustable · Issue #13865 · home-assistant/frontend · GitHub

I think I found something interesting in a debug session today:

New entries in the calendar are set outside the calendar visible period!

1 Like

Have the same issue.