mirror of
https://github.com/mtan93/homebridge.git
synced 2026-05-17 14:18:54 +01:00
fixed debug messages
This commit is contained in:
+2
-2
@@ -604,7 +604,7 @@ FHEMAccessory(log, connection, s) {
|
|||||||
|
|
||||||
|
|
||||||
if( this.mappings.onOff )
|
if( this.mappings.onOff )
|
||||||
log( s.Internals.NAME + ' has onOff [' + this.mappings.onOff + ']' );
|
log( s.Internals.NAME + ' has onOff [' + this.mappings.onOff.reading + ':' + this.mappings.onOff.cmdOn +',' + this.mappings.onOff.cmdOff + ']' );
|
||||||
if( this.mappings.hue )
|
if( this.mappings.hue )
|
||||||
log( s.Internals.NAME + ' has hue [0-' + this.mappings.hue.max +']' );
|
log( s.Internals.NAME + ' has hue [0-' + this.mappings.hue.max +']' );
|
||||||
if( this.mappings.sat )
|
if( this.mappings.sat )
|
||||||
@@ -618,7 +618,7 @@ FHEMAccessory(log, connection, s) {
|
|||||||
if( this.mappings.direction )
|
if( this.mappings.direction )
|
||||||
log( s.Internals.NAME + ' has direction' );
|
log( s.Internals.NAME + ' has direction' );
|
||||||
|
|
||||||
log(s);
|
//log( util.inspect(s) );
|
||||||
|
|
||||||
// device info
|
// device info
|
||||||
this.name = s.Internals.NAME;
|
this.name = s.Internals.NAME;
|
||||||
|
|||||||
Reference in New Issue
Block a user