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

IOS Setpoint does not handle values out of range #853

Open
JimH1111 opened this issue Nov 21, 2024 · 0 comments
Open

IOS Setpoint does not handle values out of range #853

JimH1111 opened this issue Nov 21, 2024 · 0 comments

Comments

@JimH1111
Copy link

The sitemap’s Setpoint control does not update the device if the new value is less than the minValue or greater than the maxValue. This can occur if the item is updated via a slider and then updated via the Setpoint.

This happens on both iPhone and watch.

I have a dimmer item defined as a Slider on the iPhone’s sitemap and defined as a Setpoint on the watch’s sitemap. The Setpoint has step=25 specified. If the Setpoint attempts to change the dimmer value outside of the valid values for the dimmer (0-100) nothing seems to happen. The dimmer item is not changed and there are no messages in event.log.

To Reproduce
Set a dimmer item to 30.
Create a Setpoint for the item on a Sitemap, specifying step=25
Click on the down button on the Setpoint. The value will change from 30 to 5
Click on the down button on the Setpoint. The value will not change.

Expected behavior
I expected the app to use minValue when the new value is less than minValue and use maxValue when the new value exceeds maxValue

App (please complete the following information):

  • Version: 3.0.5 (1)

Smartphone (please complete the following information):

  • Device: iPhone 16 Pro

openHAB (please complete the following information):

  • Version 4.1.3
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

No branches or pull requests

1 participant