mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-15 13:10:51 +00:00
Call refresh before configure
With the changes in https://smartthings.atlassian.net/browse/DPROT-168 it can take a little longer for the configuration process for a device to complete. As a result sensor values may not be available immediately by calling the refresh commands before the configure commands we can populate those values sooner. This resolves: https://smartthings.atlassian.net/browse/DPROT-177
This commit is contained in:
@@ -78,5 +78,5 @@ def refresh() {
|
||||
|
||||
def configure() {
|
||||
log.debug "Configuring Reporting and Bindings."
|
||||
zigbee.onOffConfig() + zigbee.onOffRefresh()
|
||||
zigbee.onOffRefresh() + zigbee.onOffConfig()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user