Appearance
Valve Position Widget
Overview
Valve Position Widget includes its own configuration fields in the widget configuration flow.
Configuration Fields
- Alias
- Devices
- Selected Device ID
- Title
- Show Title
- Key
- Unit
- Open Threshold
- Closed Threshold
- Show Device Name
- Show Timestamp
- Show Animation
- Global Keys
- Loading Devices
- Loading Keys
- Device ID
- Device Ids
- Next Patch
- Metric
- Telemetry Keys
Defaults
- Alias — null
- Selected Device ID — config.deviceIds?.[0] || "").trim(
- Title — "Valve Position"
- Show Title — true
- Key — "position"
- Unit — "%"
- Open Threshold — 80
- Closed Threshold — 20
- Show Device Name — true
- Show Timestamp — true
- Show Animation — true
Source
- File — ValvePositionWidgetConfig.tsx
