From b94fffd3ac791178b18e1aa0db6daa77ea941bfc Mon Sep 17 00:00:00 2001 From: LibraSun Date: Mon, 14 Oct 2024 08:52:45 -0500 Subject: [PATCH] Update virtualThermostat.groovy Minor typos in sendEvent( ) parameters --- examples/drivers/virtualThermostat.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/drivers/virtualThermostat.groovy b/examples/drivers/virtualThermostat.groovy index 91a0d9e..fe3bbc2 100644 --- a/examples/drivers/virtualThermostat.groovy +++ b/examples/drivers/virtualThermostat.groovy @@ -235,21 +235,21 @@ private updateSetpoints(sp = null, hsp = null, csp = null, operatingState = null name = "heatingSetpoint" descriptionText = "${device.displayName} ${name} was set to ${value}${unit}" if (txtEnable) log.info descriptionText - sendEvent(name: name, value: value, descriptionText: descriptionText, unit: unit, stateChange: true) + sendEvent(name: name, value: value, descriptionText: descriptionText, unit: unit, isStateChange: true) } if (cspChange) { value = csp name = "coolingSetpoint" descriptionText = "${device.displayName} ${name} was set to ${value}${unit}" if (txtEnable) log.info descriptionText - sendEvent(name: name, value: value, descriptionText: descriptionText, unit: unit, stateChange: true) + sendEvent(name: name, value: value, descriptionText: descriptionText, unit: unit, isStateChange: true) } if (spChange) { value = sp name = "thermostatSetpoint" descriptionText = "${device.displayName} ${name} was set to ${value}${unit}" if (txtEnable) log.info descriptionText - sendEvent(name: name, value: value, descriptionText: descriptionText, unit: unit, stateChange: true) + sendEvent(name: name, value: value, descriptionText: descriptionText, unit: unit, isStateChange: true) } state.lastRunningMode = newOS