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

OH 3.2M4 - Unable to Link Text File Item Dimmer to Channel Using UI #1204

Closed
jsiemon opened this issue Nov 12, 2021 · 0 comments · Fixed by #1231
Closed

OH 3.2M4 - Unable to Link Text File Item Dimmer to Channel Using UI #1204

jsiemon opened this issue Nov 12, 2021 · 0 comments · Fixed by #1231
Assignees
Labels
bug Something isn't working main ui Main UI

Comments

@jsiemon
Copy link

jsiemon commented Nov 12, 2021

The problem

When trying to Link a Dimmer Item defined in a Text File to a Channel that uses Dimmers, the Item is not shown. If I make the Item a Switch instead of a Dimmer I can Link the Item to the Channel. If I change the Item back to Dimmer after Linking to the Channel, everything works as it should. This is my work around.

Expected behavior

When Linking a Channel I would expect to see all available Items, but especially Items of same type as the Channel.

Steps to reproduce

I have tried several bindings with Dimmer Channels and no case I am able to use the UI to link a Text File defined Dimmer Item tot he channel. If I create a new Dimmer Item using the UI, then I can Link that Item to the Channel, but not from a Text File. If I change the Text File Item Dimmer to Text File Item Switch, then I can link it. If After Linkig I change the Text File Item Switch back to Dimmer, it works. If I Unlink that Item Dimmer and Try to re-Link, It is not seen.

Your environment

runtimeInfo:
version: 3.2.0.M4
buildString: Milestone Build
locale: en-US
systemInfo:
configFolder: /openhab/conf
userdataFolder: /openhab/userdata
logFolder: /openhab/userdata/logs
javaVersion: 11.0.13
javaVendor: Azul Systems, Inc.
javaVendorVersion: Zulu11.52+13-CA
osName: Linux
osVersion: 5.10.28-Unraid
osArchitecture: amd64
availableProcessors: 24
freeMemory: 453565560
totalMemory: 761266176
bindings:

  • astro
  • darksky
  • denonmarantz
  • exec
  • globalcache
  • gpstracker
  • habpanelfilter
  • http
  • icloud
  • ipcamera
  • isy
  • kodi
  • konnected
  • network
  • ntp
  • opensprinkler
  • panasonictv
  • remoteopenhab
  • shelly
  • tellstick
    clientInfo:
    device:
    ios: false
    android: false
    androidChrome: false
    desktop: true
    iphone: false
    ipod: false
    ipad: false
    edge: false
    ie: false
    firefox: false
    macos: true
    windows: false
    cordova: false
    phonegap: false
    electron: false
    nwjs: false
    webView: false
    webview: false
    standalone: false
    os: macos
    pixelRatio: 1
    prefersColorScheme: dark
    isSecureContext: false
    locationbarVisible: true
    menubarVisible: true
    navigator:
    cookieEnabled: true
    deviceMemory: N/A
    hardwareConcurrency: N/A
    language: en
    languages:
    • en
      onLine: true
      platform: MacIntel
      screen:
      width: 1920
      height: 1080
      colorDepth: 24
      support:
      touch: false
      pointerEvents: true
      observer: true
      passiveListener: true
      gestures: false
      intersectionObserver: true
      themeOptions:
      dark: dark
      filled: true
      pageTransitionAnimation: default
      bars: light
      homeNavbar: default
      homeBackground: default
      expandableCardAnimation: default
      userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15
      (KHTML, like Gecko) Version/15.0 Safari/605.1.15
      timestamp: 2021-11-12T23:38:02.734Z

Browser console

Browser network traffic

Additional information

@jsiemon jsiemon added bug Something isn't working main ui Main UI labels Nov 12, 2021
@ghys ghys self-assigned this Dec 15, 2021
ghys added a commit to ghys/openhab-webui that referenced this issue Dec 15, 2021
The checks on which item types are allowed to be linked introduced with
openhab#1106 & openhab#1043 have a serious issue that prevents the items of the actual
type of the channel to be linked individually.

Fixes openhab#1204.
Fixes openhab/openhab-core#2568.

Signed-off-by: Yannick Schaus <github@schaus.net>
ghys added a commit that referenced this issue Dec 16, 2021
The checks on which item types are allowed to be linked introduced with
#1106 & #1043 have a serious issue that prevents the items of the actual
type of the channel to be linked individually.

Fixes #1204.
Fixes openhab/openhab-core#2568.

Signed-off-by: Yannick Schaus <github@schaus.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main ui Main UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants