Skip to content

Commit

Permalink
[ICP-5448] Refresh child device state in ping() to make it able to re…
Browse files Browse the repository at this point in the history
…cover from offline state. (SmartThingsCommunity#3270)
  • Loading branch information
ALamchaS authored and greens committed Jul 18, 2018
1 parent 20aad8f commit c67a4b8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def configure() {

def ping() {
log.debug "ping..()"
childRefresh()
refresh()
//response(refresh())
}
Expand Down Expand Up @@ -510,4 +511,4 @@ private parameterMap() {[
8: "Cyan",
9: "Magenta"
], def: "0", title: "Ring LED color when off", descr: "Ring LED colour when the device is OFF.", defValDescr: "Off (Default)"]
]}
]}

0 comments on commit c67a4b8

Please sign in to comment.