10_CUL_HM: bugfix

git-svn-id: https://svn.fhem.de/fhem/trunk@8674 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2015-05-31 18:37:46 +00:00
parent b46c46b4a6
commit 61b63cb115

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
}