ubermanl / dqr

Dispositivos que Razonan - Home Automation
1 stars 0 forks source link

Desired module status not saved as part of a schedule creation #77

Closed enothen closed 6 years ago

enothen commented 6 years ago

When creating a schedule, the desired state of a Lux module is not being saved.

Steps to reproduce:

  1. Open Ratio Console
  2. Click on "Schedules"
  3. Click on "+ New Schedule"
  4. Enter a name and click "Create Schedule"
  5. Select a "TimeSheet" and click on "Add"
  6. Click on devices
  7. Activate one device and its state (set to ON) 8, Click anywhere to go out of schedules, such as "Home"
  8. Click on "Schedules" again
  9. Click on the "eye icon" next to the name of the schedule that was created before
  10. Click on "Devices"

The "include" column should be set for whatever device was selected on step 7, but the "Desired Status" will be set to "OFF", instead of "ON", as previously selected.

ubermanl commented 6 years ago

Status was saved to Database, but not correctly reflected on HTML