2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

CUL_HM:correct pct command parsing

git-svn-id: https://svn.fhem.de/fhem/trunk@22503 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2020-07-31 14:29:19 +00:00
parent bcbe49a79e
commit 9e2a666471

View File

@ -4347,6 +4347,7 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
if (!defined($h) && defined($culHmSubTypeSets->{$st}{pct}) && $cmd =~ m/^\d+/) {
splice @a, 1, 0,"pct";#insert the actual command
$cmd = $oCmd = "pct";
}
elsif(!defined($h)) { ### unknown - return the commandlist