Skip to content

[BUG]: changing sensor alarm values doesn't respect day/night offset? #1028

@rossisbudda

Description

@rossisbudda

Setup:

  • TerrariumPI version: 4.12.5
  • Install: Manual
  • Raspberry PI: 3B
  • OS: Bullseye

Describe the bug
Apologies in advance if I have got the expected behaviour incorrect.
I have noticed that when I make changes to the sensor alarm values during the night period, that the day period then becomes offset by an extra amount. It's as though the day/night offset values do not get considered while editing sensor alarm values.

To Reproduce / Installation steps
Wait until night period. Change the sensor alarm values. Wait until day period. Notice that sensor alarm values have shifted by an amount that is beyond the day/night offset value. It is as though the only safe time to enter your favoured value is during the day.

Image

Expected behavior
I would expect the day/night offset value to be understood relative to our current day/night period when editing sensor values, then for the alarm values to behave predictably when we return to the next period.

I am really sorry but I can't get to the logs right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions