From f4160c2d01246eeaa98b3a7baad721d899d96c18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=20Schr=C3=B6ter?= Date: Mon, 14 Sep 2015 22:43:37 +0200 Subject: [PATCH] added identify --- platforms/FHEM.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platforms/FHEM.js b/platforms/FHEM.js index 6c7d45a..b81342a 100644 --- a/platforms/FHEM.js +++ b/platforms/FHEM.js @@ -1062,6 +1062,9 @@ FHEMAccessory.prototype = { identify: function(callback) { this.log('['+this.name+'] identify requested!'); + if( match = this.PossibleSets.match(/[\^ ]toggle\b/) ) { + this.command( 'identify' ); + } callback(); },