Z-Wave-Me / home-automation

Z-Way Home Automation engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Postfix issue with SCSC17 thermostat

vvvy opened this issue · comments

The postfix record for Horstman/Secure SCSC17 7-day programmable thermostat (in home-automation/modules/ZWave/postfix.json) has at least one typo:

  1. 'reaname' instead of 'rename'
  2. (?) Extra space in front of 'Temperature'
{
		"id": "228",
		"p_id": "89.4.1",
		"p_sku": "SEC_SCS317",
		"product": "Secure 7 Day Programmable Thermostat",
		"apply_postfix": "1",
		"preInterview": [],
		"postInterview": ["renameNode,Secure Thermostat",
			"rename,0-49-1, Temperature",
			"reaname,0-67-1,Thermostat",
			"hide,0-37"
		],
		"author_last_update": "2017-11-03 08:20:28",
		"author": "SP",
		"tester": "SP",
		"tester_last_update": "2017-11-03 08:20:28",
		"commentary": "rename Node and devices, hide switch",
		"created": "2017-11-03 08:21:02"
}

This causes the following being printed to the log multiple times upon startup:

[2019-01-03 13:48:22.732] [I] [core] ####################### PRE-OR-POSTFIX-ERROR: #22 ################################
[2019-01-03 13:48:22.732] [I] [core] ###
[2019-01-03 13:48:22.733] [I] [core] ### ERROR: ReferenceError: reaname is not defined
[2019-01-03 13:48:22.734] [I] [core] ###
[2019-01-03 13:48:22.734] [I] [core] #################################################################################################