74_NUKIBridge in 73_NUKIBridge geändert wegen Ladereihnfolge

This commit is contained in:
Marko Oldenburg 2016-09-27 20:49:24 +02:00
parent 1a39d05ece
commit 05d202018c
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ use strict;
use warnings;
use JSON;
my $version = "0.1.27";
my $version = "0.1.28";
@ -110,7 +110,7 @@ sub NUKIDevice_Define($$) {
$modules{NUKIDevice}{defptr}{$code} = $hash;
Log3 $name, 3, "NUKIDevice ($name) - defined with NukiID $code";
Log3 $name, 3, "NUKIDevice ($name) - defined with Code: $code";
$attr{$name}{room} = "NUKI" if( !defined( $attr{$name}{room} ) );
@ -129,7 +129,7 @@ sub NUKIDevice_Undef($$) {
my $code = $hash->{NUKIID};
$code = $hash->{IODev}->{NAME} ."-". $code if( defined($hash->{IODev}->{NAME}) );
Log3 $name, 3, "NUKIDevice ($name) - undefined with Code: $code";
delete($modules{HUEDevice}{defptr}{$code});
return undef;