SmartAlert Siren: Exception when calling ping method

The `ping` method was using the `secure` method even though it wasn't
defined in this DTH and the Fortrezz Siren doesn't use secure encapsulation.
This means all calls to `ping` were crashing so Device Watch couldn't ping
the device which likely resulted in these devices being incorrectly marked
offline.

https://smartthings.atlassian.net/browse/ICP-7715
This commit is contained in:
Tom Manley
2019-01-05 15:39:24 -06:00
parent e050bbdfd5
commit 5bbeab5549

View File

@@ -166,5 +166,5 @@ def zwaveEvent(physicalgraph.zwave.Command cmd) {
* PING is used by Device-Watch in attempt to reach the Device
* */
def ping() {
secure(zwave.basicV1.basicGet())
zwave.basicV1.basicGet().format()
}