2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

fixed set if get is get@{} without -> set

git-svn-id: https://svn.fhem.de/fhem/trunk@4580 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2014-01-06 20:34:53 +00:00
parent 6380e1c28e
commit ab7d743849

View File

@ -385,6 +385,7 @@ LightScene_Set($@)
$set = $5 if( $5 );
}
($get,$regex) = split('@', $get, 2);
$set = $get if( $regex && $set eq $param );
$set = "state" if( $set eq "STATE" );
$saved .= "$set " if( $set ne "state" );