Hi, is there any option to bind a Group to a Widget. For Example you have a Group of RoomSensor with TempActValue, TempSetValue,… i try to bind the hole group to the widget, and pic the props by name.
Widget
uid: Thermostat-Control_Test
tags: []
props:
parameters:
- description: Thermostat to control
label: Description
name: Title
required: false
type: TEXT
- context: item
label: Group item
name: groupItem
required: true
type: TEXT
timestamp: Aug 4, 2021, 8:01:20 AM
component: f7-card
config:
outline: false
noBorder: false
padding: true
noShadow: false
style:
--f7-card-margin-horizontal: 5px
--f7-card-content-padding-vertical: 0px
--f7-card-content-padding-horizontal: 16px
--f7-card-border-radius: 15px
--f7-card-box-shadow: 0px 5px 10px rgba(0,0,0,0.15)
--f7-card-header-font-size: 14px
--f7-card-header-font-weight: 600
slots:
content:
- component: oh-label-card
config:
noShadow: true
item: =(props.groupItem.Ist)
title: =(props.Title)
icon: f7:thermometer
actionAnalyzerCoordSystem: time
vertical: false
- component: oh-stepper-card
config:
noShadow: true
color-theme: gray
item: =(props.groupItem.Soll)
large: false
autorepeat: true
fill: false
noBorder: true
raised: true
small: true
round: true
step: 0.5
Group
Page
config:
label: Raumtemperaturen
layoutType: responsive
blocks:
- component: oh-block
config: {}
slots:
default:
- component: oh-grid-row
config: {}
slots:
default:
- component: oh-grid-col
config: {}
slots:
default:
- component: widget:Thermostat-Control_Test
config:
groupItem: gKitchenRoomSensor
masonry: null
grid: []