"Things Quiet Down" overload

(Kristopher Kubicki) #1

I recently started getting this message from the standard “Things Quite Down” SmartApp:

46850b7a-5c95-4b48-9a23-8736773a8bcd 8:09:42 AM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method script14265883381021892670388#toDateTime.
Cannot resolve which method to invoke for [null, class sun.util.calendar.ZoneInfo] due to overlapping prototypes between:
[class java.lang.String, class java.lang.Object]
[class java.util.Date, class java.lang.Object] @ line 125

Does anyone know what its about or how to fix it?

(Ben Edwards) #2

That line references a timeOfDay parameter that defaults to 22:00

section("During this time window") {
    input "timeOfDay", "time", title: "Time?", defaultValue: timestamp("22:00")
    input "endTime", "time", title: "End Time?", defaultValue: timestamp("02:00")

Our guess is that you somehow would up with an empty field for that input, though we’re not sure how, since it is required.

If has a value in that field you should open a support ticket so we can investigate.

(Kristopher Kubicki) #3

Thanks @ben - I found a mode change that didn’t have that field set. I am guessing it was an old one