cool. open rooms manager app in the IDE and replace these lines:
section("Announce only between hours:") {
if (playerDevice) {
input "startHH", "number", title: "From hour?", description: "2 digit hour in 24 hour format", required: true, multiple: false, defaultValue: 7, range: "1..${(endHH ?: 23)}", submitOnChange: true
input "endHH", "number", title: "To hour?", description: "2 digit hour in 24 hour format", required: true, multiple: false, defaultValue: 23, range: "${(startHH ?: 23)}..23", submitOnChange: true
}
else {
paragraph "Announce from hour?\nselect either presence or time announcement to set"
paragraph "Announce to hour?\nselect either presence or time announcement to set"
}
}
with these lines:
section("Announce only between hours:") {
if (playerDevice) {
input "startHH", "number", title: "From hour?", description: "2 digit hour in 24 hour format", required: true
input "endHH", "number", title: "To hour?", description: "2 digit hour in 24 hour format", required: true
}
else {
paragraph "Announce from hour?\nselect either presence or time announcement to set"
paragraph "Announce to hour?\nselect either presence or time announcement to set"
}
}
save and publish the app then open the rooms manager app … lets see if the same error shows up.