openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.9k stars 3.59k forks source link

[Tellstick] Binding reverts auto-update #17791

Open ulfwin opened 6 hours ago

ulfwin commented 6 hours ago

Expected Behavior

When sending a command to a tellstick switch, and auto-update is enabled for the item (which it seems to be by default), the state should immediately change and stay at the value that was sent.

Current Behavior

When sending a command to the item, it changes as expected for a fraction of a second, but then immediate changes back. Here is a community thread describing the issue (6 years old, but still valid apparently): https://community.openhab.org/t/tellstick-sending-on-to-device-state-changes-on-off-on/37562

Steps to Reproduce

  1. Configure to use the Telldus Local API bridge
  2. Add an on/off device as a thing
  3. Add an item to the Switch channel
  4. Send a command to the item
  5. Observe that it appears to stay at the original value

Context

The state is corrected once the update interval has been reached, but it does mean that either you have to have an insanely small update interval (below 1 s) or you have to live with the GUI being very slow in updating the state.

Your Environment