10_CUL_HM: bugfix

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@8674 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2015-05-31 18:37:46 +00:00
parent 9382cd5b65
commit db9d54fd92

View File

@@ -3710,7 +3710,9 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
)
.(($reg->{l} == 3)?" peer required":"")." : ".$reg->{t}."\n"
if ($data eq "?");
if ($reg->{lit} && defined $reg->{lit}{$data} ){
if ( $conv ne 'lit'
&& $reg->{lit}
&& defined $reg->{lit}{$data} ){
$data = $reg->{lit}{$data};#conv special value past to calculation
}