From c67a4b8fa59a167fa0798d406c9539a625018ade Mon Sep 17 00:00:00 2001 From: ALamchaS Date: Wed, 18 Jul 2018 23:32:53 +0200 Subject: [PATCH] [ICP-5448] Refresh child device state in ping() to make it able to recover from offline state. (#3270) --- .../fibaro-wall-plug-us-zw5.src/fibaro-wall-plug-us-zw5.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devicetypes/fibargroup/fibaro-wall-plug-us-zw5.src/fibaro-wall-plug-us-zw5.groovy b/devicetypes/fibargroup/fibaro-wall-plug-us-zw5.src/fibaro-wall-plug-us-zw5.groovy index dfbddfbed9e..80b541b1e37 100644 --- a/devicetypes/fibargroup/fibaro-wall-plug-us-zw5.src/fibaro-wall-plug-us-zw5.groovy +++ b/devicetypes/fibargroup/fibaro-wall-plug-us-zw5.src/fibaro-wall-plug-us-zw5.groovy @@ -164,6 +164,7 @@ def configure() { def ping() { log.debug "ping..()" + childRefresh() refresh() //response(refresh()) } @@ -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)"] -]} \ No newline at end of file +]}