2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

CUL_HM:noch einmal - bugfix 2 - sorry

git-svn-id: https://svn.fhem.de/fhem/trunk@16155 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2018-02-11 21:01:30 +00:00
parent 03500cbfa3
commit 01ccbb3086

View File

@ -9123,7 +9123,7 @@ sub CUL_HM_assignIO($){ #check and assign IO, returns 1 if IO changed
# IO has to keep track about and really remove just if required
$lIODevH = $defs{$ioLd};
next if ( !defined($lIODevH)
|| ($lIODevH == $newIODevH) );
|| ($lIODevH == $newIODev) );
if (ReadingsVal($ioLd,"state","") ne "disconnected") {
if ( $lIODevH->{helper}{VTS_AES} #if this unselected IO is TSCUL 0.14+ we have to remove the device from IO, as it starts with "historical" assignment data
|| ( defined($oldIODev)