From 1b23d1def7816e5c69ed34c06e224252ff22310e Mon Sep 17 00:00:00 2001 From: James Schlackman Date: Wed, 28 Feb 2018 13:23:08 -0500 Subject: [PATCH] Additional formatting fix. --- .../jschlackman/ready-for-nature.src/ready-for-nature.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smartapps/jschlackman/ready-for-nature.src/ready-for-nature.groovy b/smartapps/jschlackman/ready-for-nature.src/ready-for-nature.groovy index 5d770c3..3f950db 100644 --- a/smartapps/jschlackman/ready-for-nature.src/ready-for-nature.groovy +++ b/smartapps/jschlackman/ready-for-nature.src/ready-for-nature.groovy @@ -160,7 +160,7 @@ def send() { def open = sensors.findAll { it?.latestValue("contact") == "open" } def plural = open.size() > 1 ? "are" : "is" def weather = null - def msg = "${open.join(', ')} ${plural} open and" + def msg = "${open.join(', ')} ${plural} open and " // Check the rain forecast if requested by user if(checkRain == "Yes") { @@ -169,7 +169,7 @@ def send() { // Send message about rain if it is expected. if(weather) { - msg = msg + " ${weather} coming. " + msg = msg + "${weather} coming. " // Report chance of rain if requested by user. if (messageRainChance == "Yes") {