mirror of
https://github.com/mtan93/homebridge.git
synced 2026-04-14 14:23:10 +01:00
added identify
This commit is contained in:
@@ -1062,6 +1062,9 @@ FHEMAccessory.prototype = {
|
|||||||
|
|
||||||
identify: function(callback) {
|
identify: function(callback) {
|
||||||
this.log('['+this.name+'] identify requested!');
|
this.log('['+this.name+'] identify requested!');
|
||||||
|
if( match = this.PossibleSets.match(/[\^ ]toggle\b/) ) {
|
||||||
|
this.command( 'identify' );
|
||||||
|
}
|
||||||
callback();
|
callback();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user