X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartapps.git;a=blobdiff_plain;f=third-party%2FWorkingFromHome.groovy;h=8cd86fc7a7f0734e4b49d91d9a934b8a40aac73f;hp=588c82e711c1249edf1b9297d3f7568084980d19;hb=b51a1ebcdd2aad93864d307c21decb690d5ed645;hpb=3325c1b0cc49b9fbbc497cb3612f7aeff5263eca diff --git a/third-party/WorkingFromHome.groovy b/third-party/WorkingFromHome.groovy index 588c82e..8cd86fc 100755 --- a/third-party/WorkingFromHome.groovy +++ b/third-party/WorkingFromHome.groovy @@ -32,6 +32,8 @@ def configActions() { dynamicPage(name: "configActions", title: "Configure Actions", uninstall: true, install: true) { section ("When this person") { input "person", "capability.presenceSensor", title: "Who?", multiple: false, required: true + input "days", "enum", title: "Set for specific day(s) of the week", multiple: true, required: false, + options: ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"] } section ("Still at home past") { input "timeOfDay", "time", title: "What time?", required: true @@ -48,8 +50,8 @@ def configActions() { section (title: "More options", hidden: hideOptions(), hideable: true) { input "sendPushMessage", "bool", title: "Send a push notification?" input "phone", "phone", title: "Send a Text Message?", required: false - input "days", "enum", title: "Set for specific day(s) of the week", multiple: true, required: false, - options: ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"] + //input "days", "enum", title: "Set for specific day(s) of the week", multiple: true, required: false, + // options: ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"] } section([mobileOnly:true]) { @@ -70,9 +72,9 @@ def updated() { def initialize() { schedule(timeToday(timeOfDay, location.timeZone), "checkPresence") - if (customName) { - app.setTitle(customName) - } + //if (customName) { + // app.setTitle(customName) + //} } def checkPresence() {