Configuration AttributeDisplay Widget
The widget configuration schema is defined in src/index.ts.
Settings Overview
Key |
UI Label |
Type |
Default |
Description |
|---|---|---|---|---|
|
Title |
|
|
Optional title. Supports formatted input expressions/variables. |
|
Tango attributes |
|
|
Attribute source list (endpoint + full attribute path). Supports formatted input in |
|
Use Live Data (subscribe) |
|
|
If enabled, subscribe to live updates. If disabled, use one-shot query/polling cadence. |
|
Show Enum Labels |
|
|
Show enum labels instead of raw numeric values when metadata is available. |
|
DevString View Mode |
|
|
DevString rendering mode: |
|
Color JSON Values by Type |
|
|
Color JSON values by type in JSON tree modes. |
|
Background Color |
|
|
Base card background color. |
|
Use State Background Color |
|
|
If enabled, background color follows SDK state color mapping with contrast-aware text. |
|
Conditional Background Value |
|
|
Value/expression used as comparison target for conditional background styling. |
|
Conditional Background Operator |
|
|
Comparison operator: |
|
Conditional Background Color |
|
|
Background color applied when condition matches. |
|
Value Color |
|
|
Value text color. |
|
Title Color |
|
|
Title text color. |
|
Font Size |
|
|
Base font size for title/value (for example |
|
Title Placement |
|
|
Title position relative to value: |
|
Content Horizontal Alignment |
|
|
Horizontal alignment of the title/value block: |
|
Content Vertical Alignment |
|
|
Vertical alignment of the title/value block: |
Notes
attributeshasminItems: 1; at least one attribute source is required.propertyTypeandlevelmetadata are used by the settings UI for grouping and progressive disclosure.Expression/variable support for formatted fields comes from the shared widget SDK formatted input parser.