WTH "times of the day sensor" doesn't allow multiple times?

Hi all!

I am using one those “times of the day sensor” helpers:

image

Which translates into this kind of configuration in the DB:

 {
        "entry_id": "2094470f54e76b6e71e8fb1ab75e94f7",
        "version": 1,
        "minor_version": 1,
        "domain": "tod",
        "title": "some period",
        "data": {},
        "options": {
          "name": "some period",
          "after_time": "14:00:00",
          "before_time": "15:45:00"
        },
        "pref_disable_new_entities": false,
        "pref_disable_polling": false,
        "source": "user",
        "unique_id": null,
        "disabled_by": null
      }

I need to add more periods, I have 3 every day, shouldn’t there be a way to just… add them here? I can create more separate helpers, but this creates a mess, one per period, per device??? Why?

I guess Home Assistant needs this ability, out of the box:

image

1 Like

At the moment, the UI configuration only has half-hour granularity, so you can’t do 14:00 to 15:45 without YAML configuration. I’m hoping that will improve in future.