From 1b0437c633a2a7371aa7a862c53d1ba205da3a13 Mon Sep 17 00:00:00 2001 From: juano2310 Date: Wed, 5 Jul 2017 14:00:24 -0400 Subject: [PATCH] ICP-507 - Replace location count null with 0 Updated with def count = options.size().toString() --- smartapps/smartthings/lifx-connect.src/lifx-connect.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartapps/smartthings/lifx-connect.src/lifx-connect.groovy b/smartapps/smartthings/lifx-connect.src/lifx-connect.groovy index caca7b2..fbda03b 100644 --- a/smartapps/smartthings/lifx-connect.src/lifx-connect.groovy +++ b/smartapps/smartthings/lifx-connect.src/lifx-connect.groovy @@ -72,7 +72,7 @@ def authPage() { log.debug "have LIFX access token" def options = locationOptions() ?: [] - def count = options.size() + def count = options.size().toString() return dynamicPage(name:"Credentials", title:"", nextPage:"", install:true, uninstall: true) { section("Select your location") {