dandjo
(Daniel)
October 3, 2024, 2:03pm
1
Hello folks,
I’m using oh-gauge-cards to visualize my meters. Unfortunatelty, they are not clickable anywhere when using an action. Any ideas? Is this a bug?
Here’s my component:
component: oh-gauge-card
config:
bgColor: "#ffffff"
borderBgColor: "#cccccc"
borderColor: "#006eff"
borderWidth: "25"
item: water_meter_value_day
labelFontSize: "0"
labelText: " "
min: 0
max: 0.5
title: Water Meter Consumption
type: semicircle
valueFontSize: "22"
action: analyzer
actionAnalyzerItems:
- water_meter_value_day
System meta:
runtimeInfo:
version: 4.3.0
buildString: "Build #4301"
locale: en-AT
systemInfo:
configFolder: /etc/openhab
userdataFolder: /var/lib/openhab
logFolder: /var/log/openhab
javaVersion: 17.0.12
javaVendor: Ubuntu
osName: Linux
osVersion: 6.8.0-1012-raspi
osArchitecture: aarch64
availableProcessors: 4
freeMemory: 168610088
totalMemory: 662700032
uptime: 88117
startLevel: 100
addons:
- automation-jsscripting
- binding-enigma2
- binding-http
- binding-mielecloud
- binding-modbus
- binding-mqtt
- binding-netatmo
- binding-tado
- misc-openhabcloud
- persistence-influxdb
- transformation-jsonpath
- transformation-regex
- ui-basic
clientInfo:
device:
ios: false
android: false
androidChrome: false
desktop: true
iphone: false
ipod: false
ipad: false
edge: false
ie: false
firefox: false
macos: false
windows: false
cordova: false
phonegap: false
electron: false
nwjs: false
webView: false
webview: false
standalone: false
pixelRatio: 1
prefersColorScheme: dark
isSecureContext: false
locationbarVisible: true
menubarVisible: true
navigator:
cookieEnabled: true
deviceMemory: N/A
hardwareConcurrency: 8
language: en-AT
languages:
- en-AT
- en-GB
- en-US
- en
- de
onLine: true
platform: Linux x86_64
screen:
width: 3440
height: 1440
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
blocklyRenderer: null
userAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/129.0.0.0 Safari/537.36
timestamp: 2024-10-03T13:59:18.259Z
JustinG
(JustinG)
October 3, 2024, 3:14pm
2
You are on the first build after a brand new re-working of the oh-card
family of components. I haven’t had a chance to update and test the cards yet, but it’s quite possible that there is a bug here and you should definitely file an issue at the ui repository.
dandjo
(Daniel)
October 3, 2024, 3:31pm
3
Thanks @JustinG , I made it so.
opened 03:29PM - 03 Oct 24 UTC
bug
main ui
## The problem
I’m using oh-gauge-cards to visualize my meters. Unfortunatelt… y, they are not clickable anywhere when using an action.
![image](https://github.com/user-attachments/assets/5b02069d-e53b-433f-a789-d50d51a2fb22)
## Expected behavior
Being able to klick on a gauge when an action is configured.
## Steps to reproduce
Configure a oh-gauge-card somewhere in the main UI.
```yml
component: oh-gauge-card
config:
bgColor: "#ffffff"
borderBgColor: "#cccccc"
borderColor: "#006eff"
borderWidth: "25"
item: water_meter_value_day
labelFontSize: "0"
labelText: " "
min: 0
max: 0.5
title: Water Meter Consumption
type: semicircle
valueFontSize: "22"
action: analyzer
actionAnalyzerItems:
- water_meter_value_day
```
## Your environment
```yaml
runtimeInfo:
version: 4.3.0
buildString: "Build #4301"
locale: en-AT
systemInfo:
configFolder: /etc/openhab
userdataFolder: /var/lib/openhab
logFolder: /var/log/openhab
javaVersion: 17.0.12
javaVendor: Ubuntu
osName: Linux
osVersion: 6.8.0-1012-raspi
osArchitecture: aarch64
availableProcessors: 4
freeMemory: 168610088
totalMemory: 662700032
uptime: 88117
startLevel: 100
addons:
- automation-jsscripting
- binding-enigma2
- binding-http
- binding-mielecloud
- binding-modbus
- binding-mqtt
- binding-netatmo
- binding-tado
- misc-openhabcloud
- persistence-influxdb
- transformation-jsonpath
- transformation-regex
- ui-basic
clientInfo:
device:
ios: false
android: false
androidChrome: false
desktop: true
iphone: false
ipod: false
ipad: false
edge: false
ie: false
firefox: false
macos: false
windows: false
cordova: false
phonegap: false
electron: false
nwjs: false
webView: false
webview: false
standalone: false
pixelRatio: 1
prefersColorScheme: dark
isSecureContext: false
locationbarVisible: true
menubarVisible: true
navigator:
cookieEnabled: true
deviceMemory: N/A
hardwareConcurrency: 8
language: en-AT
languages:
- en-AT
- en-GB
- en-US
- en
- de
onLine: true
platform: Linux x86_64
screen:
width: 3440
height: 1440
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
blocklyRenderer: null
userAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/129.0.0.0 Safari/537.36
timestamp: 2024-10-03T13:59:18.259Z
```