{
	"items": {
		"UseCalculator": {
			"type": "checkbox",
			"label": "LBL_UseCalculator",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12
		},

		"CalculatorList": {
			"type": "accordion",
			"titleAttr": "chName",
			"label": "LBL_CalculatorList",
			"hidden": "!data.UseCalculator",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"items": [
				{
					"type": "selectSendTo",
					"label": "LBL_item_chHomeID",
					"tooltip": "TTIP_item_chHomeID",
					"attr": "chHomeID",
					"default": "No Home selected",
					"command": "HomesForCalculator",
					"xs": 12,
					"sm": 12,
					"md": 6,
					"lg": 6,
					"xl": 6
				},
				{
					"type": "select",
					"label": "LBL_item_chType",
					"tooltip": "TTIP_item_chType",
					"attr": "chType",
					"options": [
						{
							"label": "LBL_item_chType_option_1",
							"value": 1
						},
						{
							"label": "LBL_item_chType_option_4",
							"value": 4
						},
						{
							"label": "LBL_item_chType_option_2",
							"value": 2
						},
						{
							"label": "LBL_item_chType_option_5",
							"value": 5
						},
						{
							"label": "LBL_item_chType_option_3",
							"value": 3
						},
						{
							"label": "LBL_item_chType_option_6",
							"value": 6
						},
						{
							"label": "LBL_item_chType_option_8",
							"value": 8
						},
						{
							"label": "LBL_item_chType_option_9",
							"value": 9
						},
						{
							"label": "LBL_item_chType_option_7",
							"value": 7
						},
						{
							"label": "LBL_item_chType_option_10",
							"value": 10
						}
					],
					"xs": 12,
					"sm": 12,
					"md": 6,
					"lg": 6,
					"xl": 6
				},

				{
					"type": "text",
					"label": "LBL_item_chName",
					"tooltip": "TTIP_item_chName",
					"maxLength": 25,
					"attr": "chName",
					"validator": "if(data.name === '' || data.name === null){return false;}else{const myRegEx = /^([0-9a-z_ ])*$/i; return myRegEx.test(data.name);}",
					"validatorNoSaveOnError": true,
					"default": "channel name",
					"xs": 12,
					"sm": 12,
					"md": 12,
					"lg": 12,
					"xl": 12
				},

				{
					"type": "objectId",
					"label": "LBL_item_chTargetState",
					"tooltip": "TTIP_item_chTargetState",
					"attr": "chTargetState",
					"default": "",
					"xs": 12,
					"sm": 12,
					"md": 12,
					"lg": 12,
					"xl": 12
				},

				{
					"type": "text",
					"label": "LBL_item_chValueOn",
					"tooltip": "TTIP_item_chValueOn",
					"maxLength": 20,
					"attr": "chValueOn",
					"default": "true",
					"xs": 12,
					"sm": 12,
					"md": 6,
					"lg": 6,
					"xl": 6
				},
				{
					"type": "text",
					"label": "LBL_item_chValueOff",
					"tooltip": "TTIP_item_chValueOff",
					"maxLength": 20,
					"attr": "chValueOff",
					"default": "false",
					"xs": 12,
					"sm": 12,
					"md": 6,
					"lg": 6,
					"xl": 6
				},

				{
					"type": "objectId",
					"label": "LBL_item_chTargetState2",
					"tooltip": "TTIP_item_chTargetState2",
					"attr": "chTargetState2",
					"hidden": "data.chType !== 7 && data.chType !== 10",
					"xs": 12,
					"sm": 12,
					"md": 12,
					"lg": 12,
					"xl": 12
				},

				{
					"type": "text",
					"label": "LBL_item_chValueOn2",
					"tooltip": "TTIP_item_chValueOn2",
					"maxLength": 20,
					"attr": "chValueOn2",
					"default": "true",
					"hidden": "data.chType !== 7 && data.chType !== 10",
					"xs": 12,
					"sm": 12,
					"md": 6,
					"lg": 6,
					"xl": 6
				},
				{
					"type": "text",
					"label": "LBL_item_chValueOff2",
					"tooltip": "TTIP_item_chValueOff2",
					"maxLength": 20,
					"attr": "chValueOff2",
					"default": "false",
					"hidden": "data.chType !== 7 && data.chType !== 10",
					"xs": 12,
					"sm": 12,
					"md": 6,
					"lg": 6,
					"xl": 6
				},
				{
					"type": "checkbox",
					"label": "LBL_chGraphEnabled",
					"tooltip": "TTIP_chGraphEnabled",
					"attr": "chGraphEnabled",
					"default": "false",
					"xs": 12,
					"sm": 12,
					"md": 6,
					"lg": 4,
					"xl": 4,
					"newLine": true
				}
			]
		},

		"_calculatorhelp1": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp1",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp2": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp2",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp3": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp3",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp4": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp4",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp5": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp5",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp6": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp6",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp7": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp7",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp8": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp8",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp9": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp9",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp10": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp10",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp11": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp11",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp12": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp12",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp13": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp13",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp14": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp14",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp15": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp15",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp16": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp16",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp17": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp15",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		},
		"_calculatorhelp18": {
			"type": "staticText",
			"hidden": "!data.UseCalculator",
			"label": "LBL_calculatorhelp16",
			"xs": 12,
			"sm": 12,
			"md": 12,
			"lg": 12,
			"xl": 12,
			"newLine": true
		}
	}
}
