Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI - Schedules - schedules types are not correctly displayed by UI #2628

Open
brunetton opened this issue Nov 9, 2024 · 0 comments
Open
Labels

Comments

@brunetton
Copy link

Device

itead-sonoff-dual-r2

Version

1.18.0-gita518080a+github240830

Bug description

After changing event type (Disabled, Calendar, Relative) and come back again to the Schedule page, events types are all displayed as "Disabled"

Steps to reproduce

  • goto Schedule page
  • change one or more schedules types to "Relative"
  • save changes
  • reload UI (ctrl-R on browser)
  • goto Schedule page again
  • => all Schedules are displayed as "Disabled"

We can confirm that it's only a display problem using terminal. Using keys command we can check, for relative schedules:

> schType0 => "3"
> schType1 => "3"

That corresponds to definitions in code/espurna/scheduler.cpp:

enum class Type : int {
    Unknown = 0,
    Disabled,
    Calendar,
    Relative,
};

Build tools used

PlatformIO

Any relevant log output (when available)

No response

Decoded stack trace (when available)

No response

@brunetton brunetton added the bug label Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant