2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@20989 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2020-01-15 18:40:37 +00:00
parent be9bc8d368
commit 009d1566f4

View File

@ -23,6 +23,7 @@ use Time::Local;
#require "30_HUEBridge.pm";
#require "$attr{global}{modpath}/FHEM/30_HUEBridge.pm";
use vars qw($devcount); # Maximum device number, used for storing
use vars qw(%FW_webArgs); # all arguments specified in the GET
my %hueModels = (
@ -316,6 +317,7 @@ HUEDevice_IODevChanged($$$;$)
$hash->{DEF} .= " IODev=$new"
}
$hash->{NR} = $devcount++ if( $new_id && $new && $defs{$new}->{NR} > $hash->{NR} );
$hash->{DEF} =~ s/[^\s]+/$new_id/ if( $new_id );
$hash->{DEF} =~ s/ / /g;