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

Slider for dimmer in main UI breaks with state description set #4022

Open
vguna opened this issue Jan 6, 2024 · 0 comments
Open

Slider for dimmer in main UI breaks with state description set #4022

vguna opened this issue Jan 6, 2024 · 0 comments
Labels
bug An unexpected problem or unintended behavior of the Core

Comments

@vguna
Copy link

vguna commented Jan 6, 2024

Expected Behavior

When a state description is set on a dimmer item (my example: SCALE(dimmer.scale):%s) it should be working or show an error what is wrong with the state description.
As a user I'm not notified anywhere (main UI locations, item config page) what might be wrong with the state description.

Current Behavior

After migration from 3.4.4 to 4.1 with a fresh install and 3.4.4 openhab-config import it seems the slider on the main UI acts weird. Sometimes after one click it stops working in a sense that the light is not following anymore. Looking at the http traffic shows there is no POST send anymore to OH from the UI. Somtimes it survives multiple clicks but finally also dies again. The slider itself moves, but no POST is send anymore

After some debugging it turned out, that the state description is the root cause. If I remove it completely, it's working as expected.

Details about my setup are described in the link above.

Possible Solution

Remove state description from item

Steps to Reproduce (for Bugs)

Add the above state description to a dimmer item and try to change it.

Context

The slider worked with the state description with 3.4.4 but stopped with 4.1.

Your Environment

4.1 on a raspberry pi 4 8GB fresh install via openhabian and import of 3.4.4 OH configs.

@vguna vguna added the bug An unexpected problem or unintended behavior of the Core label Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of the Core
Projects
None yet
Development

No branches or pull requests

1 participant