Skip to content
George Joseph edited this page Oct 20, 2019 · 1 revision

Derived from Element -> Widget

A "label" is just a read-only button without the background, border or ability to trigger actions. You can still use status object values to drive styling and label contents.

{
	/*
	 * All attributes of Element and Widget apply here.
	 */

	"type": "label",
	
	/* The value to display.  Could be static or dynamic. */
	"value": "<b>Fan 0<br>${status.params.fanPercent[0]}%</b>",
	
	/*
	 *If dynamic, this value will display until the first status
	 * object is retrieved.
	 */
	"initial_value": "<b>Fan 0<br>---%</b>",
	
}

Clone this wiki locally