First of all, thank you for this great piece of software. It truly lives up to its name and has made scheduling in Home Assistant much simpler.
A small issue I (actually my dad) ran into is that the ON and OFF time fields currently accept invalid values such as 2215 or 10:30 pm. When these values are saved, the schedule does not run at the expected time—which is obvious to more experienced users, but can be confusing for others.
It would be really helpful to have some basic client-side (JavaScript) validation on these fields to guide users toward the correct format—especially less technical users (senior citizens like my dad 🙂).
For example:
-
Highlight the field with a red border when an invalid value is entered (on save or on blur)
-
Display a short message such as:
“Time must be in the format hh:mm (24-hour format). Note that the separator must be a colon (:). Multiple times may be separated by spaces.”
Alternative suggestion:
Make the ON/OFF time text fields read-only, and provide an HTML time input (<input type="time">) with an Add button next to each field.
The user would select a time, click Add, and the value would be appended to the read-only field. The time input could then clear itself, ready for the next entry.
Thanks again for the project, and I hope this suggestion is useful.
First of all, thank you for this great piece of software. It truly lives up to its name and has made scheduling in Home Assistant much simpler.
A small issue I (actually my dad) ran into is that the ON and OFF time fields currently accept invalid values such as
2215or10:30 pm. When these values are saved, the schedule does not run at the expected time—which is obvious to more experienced users, but can be confusing for others.It would be really helpful to have some basic client-side (JavaScript) validation on these fields to guide users toward the correct format—especially less technical users (senior citizens like my dad 🙂).
For example:
Highlight the field with a red border when an invalid value is entered (on save or on blur)
Display a short message such as:
“Time must be in the format hh:mm (24-hour format). Note that the separator must be a colon (:). Multiple times may be separated by spaces.”
Alternative suggestion:
Make the ON/OFF time text fields read-only, and provide an HTML time input (
<input type="time">) with an Add button next to each field.The user would select a time, click Add, and the value would be appended to the read-only field. The time input could then clear itself, ready for the next entry.
Thanks again for the project, and I hope this suggestion is useful.