fixed debug messages

This commit is contained in:
Andre Schröter
2015-09-13 10:24:28 +02:00
parent 5358ef94a8
commit 428186eb86

View File

@@ -604,7 +604,7 @@ FHEMAccessory(log, connection, s) {
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 )
log( s.Internals.NAME + ' has hue [0-' + this.mappings.hue.max +']' );
if( this.mappings.sat )
@@ -618,7 +618,7 @@ FHEMAccessory(log, connection, s) {
if( this.mappings.direction )
log( s.Internals.NAME + ' has direction' );
log(s);
//log( util.inspect(s) );
// device info
this.name = s.Internals.NAME;