Skip to content

Conversation

@MisterChips
Copy link

I needed a decimal number picker to choose a temperature setpoint (degrees centigrade to one decimal place). I wanted it to work as another option in AnyPicker as I needed the DateTime, Time picker functions. My code is not pretty, but someone may find it useful.
Additionally

  1. I've added logic to prevent setting a time greater than the max and smaller than the minimum.
  2. I've changed ability to be able to set the start time and end time as the same time. They will be one unit apart. Maybe this should be optioned in settings, rather than hard coded.
    This is my first GitHub interaction. I'm sure I've done something wrong.
    I'm no coder and I have no problem with people using or changing anything I've done. If it's useful, then great.

I needed a decimal number picker to choose a temperature setpoint (degrees centigrade to one decimal place). I wanted it to work as another option in AnyPicker as I needed the DateTime, Time picker functions. My code is not pretty, but someone may find it useful.
Additionally
1. I've added logic to prevent setting a time greater than the max and smaller than the minimum.
2. I've changed ability to be able to set the start time and end time as the same time. They will be one unit apart. Maybe this should be optioned in settings, rather than hard coded.
I'm no coder and I have no problem with people using or changing anything I've done.
@MisterChips MisterChips marked this pull request as draft June 24, 2020 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant