I would like to set an associated value for each period I set.
My use case is to replace my central heating schedule and in order to do so, I want the schedule entity to have on and off state like it currently does, but also associate a value to the period as well. E.g.
The weekly schedule was designed to be as simple as possible to provide for the widest possible application. It does this by only providing an āon or offā state based on time of day.
If you want more complex scenarios you can automate it, or use multiple schedules. In your case a schedule for each temperature setting.
Though I do not think your idea is without merit. +1.
That absolutely makes sense!! I had the same thought after reading about the schedule helper. The demand for such feature could be really high I think since HA is still missing an easy way to define periodic schedules connected to additional conditions.
To make the current schedule really powerful it must allow defining custom attributes, that could be used in automatons to define conditions.
Sample use case:
themperature control: attribute: temperature - Iād define a condition that if temperature is above or below this defined temperature then the automation does nothing, otherwise e.g. turn on the heater. This would prevent heating is summertime for example In this particular case Iād define two attributes - daytime temperature, nighttime temperature with different time periods to support day and night thermo comfort and spare energy
brightness attribute - for defining automatons that should turn on/off some lights based on brightness as an additional condition
In general defining custom attribute values per each day& time interval should be possible to make this helper really powerful and easy to use in defining powerful & useful automatons.
And one more tip - some button for copying time periods across days would also be very nice feature.
And that isnāt a bad thing, but letās not make everything simple; letās keep (and support) the ability to do complex things for those than can, and want to. There is a risk the project is going for the lowest denominator.
Schedy is a good example - it is quite complex, but it is hugely powerful as a result. Have both schedulers available side-by-side (itās what I have currently - Schedy and the Custom Scheduler).
I would like to try to add this functionality to homeassistant core but I do not know how to update it in Frontend. Could someone from the Frontend team work on it with me?
Mate, you should definitely go to HA Discord and ask in there. A lot of devs are in the UI channel. Perhaps someone will respond. To me the backend code is also something I can cope with, but the front end - no idea.
A significant amount of time has passed. And I donāt see any answer about, yes this is going to be implemented, or if it will never see the daylight.
Anyway, providing a more easier way to come up custom metadata would great. Not only for schedules, but pretty much any custom entity.
The documentation says you can have data if the schedule is added in the Configuration file, but I canāt get it to work, even with the provided sample YAML.