Skip to content

Schedules - UI should warn when one or more schedules have incorrect syntaxes #2626

@brunetton

Description

@brunetton

Device

itead-sonoff-dual-r2

Version

1.18.0-gita518080a+github240830

Bug description

I was very happy to see that #2417 have been implemented 🥳

Today it's the day when I have to review my automatic door schedules. So I read the doc and tried to use combinations of months and SUNSET and SUNRISE keywords.

But I've absolutely no idea if my schedules strings are correct or not. The only way to have an answer is to wait for ... months :s

I presume that the string is parsed internally and if there are errors the information is available somewhere ?

It would be really useful to let user be aware of errors on save. At least instead of the "Changes saved" alert, it would be great to have "At least one schedule have an error". Then user can search and find the error.

Thanks !

Steps to reproduce

No response

Build tools used

No response

Any relevant log output (when available)

No response

Decoded stack trace (when available)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions