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

[Label cell widget]: Trend Line Sampling is parsed the wrong way #1632

Closed
EngiNearEngiFar opened this issue Jan 10, 2023 · 0 comments · Fixed by #1995
Closed

[Label cell widget]: Trend Line Sampling is parsed the wrong way #1632

EngiNearEngiFar opened this issue Jan 10, 2023 · 0 comments · Fixed by #1995
Assignees
Labels
bug Something isn't working main ui Main UI

Comments

@EngiNearEngiFar
Copy link
Contributor

The problem

The "Trend Line Sampling" parameter in the Cell Configuration does not work out of the box.
When looking at the yaml the value seem to be parsed as string (with quotes). But in this case the parameter is not interpreded. You need to remove the quotes, then it works.
See also here: https://community.openhab.org/t/oh3-4-trend-line-sampling-of-trend-item-not-working/142841

Steps to reproduce

Create a layout page and add a Label Cell.
Then go to Confiugure Cell and define a Trent Line Item with a "Trend Line Sampling" parameter. When saving the settings the Trent Line Sampling will not work.
You have to remove the qoutes in the yaml. After that it works.

Your environment

runtimeInfo:
  version: 3.4.0
  buildString: Release Build
locale: de-DE
systemInfo:
  configFolder: /etc/openhab
  userdataFolder: /var/lib/openhab
  logFolder: /var/log/openhab
  javaVersion: 11.0.11
  javaVendor: Azul Systems, Inc.
  javaVendorVersion: Zulu11.48+21-CA
  osName: Linux
  osVersion: 6.0.13-meson64
  osArchitecture: aarch64
  availableProcessors: 4
  freeMemory: 317492536
  totalMemory: 725614592
  startLevel: 70
bindings:
  - androiddebugbridge
  - astro
  - avmfritz
  - comfoair
  - doorbird
  - evcc
  - exec
  - habspeaker
  - httplistener
  - hyperion
  - ipcamera
  - knx
  - lametrictime
  - miele
  - mielecloud
  - modbus
  - mqtt
  - network
  - openweathermap
  - shelly
  - smartmeter
  - smartmeterosgp
  - solarforecast
  - squeezebox
  - synologysurveillancestation
  - systeminfo
  - tr064
  - viessmann
  - wled
clientInfo:
  device:
    ios: false
    android: false
    androidChrome: false
    desktop: true
    iphone: false
    ipod: false
    ipad: false
    edge: false
    ie: false
    firefox: true
    macos: false
    windows: true
    cordova: false
    phonegap: false
    electron: false
    nwjs: false
    webView: false
    webview: false
    standalone: false
    os: windows
    pixelRatio: 1
    prefersColorScheme: light
  isSecureContext: false
  locationbarVisible: true
  menubarVisible: true
  navigator:
    cookieEnabled: true
    deviceMemory: N/A
    hardwareConcurrency: 2
    language: de
    languages:
      - de
      - en-US
      - en
    onLine: true
    platform: Win32
  screen:
    width: 1920
    height: 1080
    colorDepth: 24
  support:
    touch: false
    pointerEvents: true
    observer: true
    passiveListener: true
    gestures: false
    intersectionObserver: true
  themeOptions:
    dark: light
    filled: true
    pageTransitionAnimation: default
    bars: filled
    homeNavbar: default
    homeBackground: default
    expandableCardAnimation: default
  userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101
    Firefox/108.0
timestamp: 2023-01-10T20:27:55.764Z
@EngiNearEngiFar EngiNearEngiFar added bug Something isn't working main ui Main UI labels Jan 10, 2023
@florian-h05 florian-h05 self-assigned this Feb 14, 2023
florian-h05 added a commit to florian-h05/openhab-webui that referenced this issue Jul 28, 2023
Fixes openhab#1632.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
ghys pushed a commit that referenced this issue Aug 19, 2023
Fixes #1632.

---------

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
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