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

HMCCU: COMBINED_PAR with on-for-timer

git-svn-id: https://svn.fhem.de/fhem/trunk@28640 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
zap 2024-03-12 12:22:12 +00:00
parent 3b56ca18b1
commit 298ed8d34d
2 changed files with 2 additions and 6 deletions

View File

@ -6727,7 +6727,7 @@ sub HMCCU_UpdateRoleCommands ($$)
} }
} }
if (!$dptValid) { if (!$dptValid) {
HMCCU_Log ($clHash, 4, "HMCCUConf: Invalid parameter $addr:$cmdChn $psName $dpt $parAccess. Ignoring command $cmd in role $role for $devType device $devName"); HMCCU_Log ($clHash, 4, "HMCCUConf: Unsupported parameter $addr:$cmdChn $psName $dpt $parAccess. Ignoring sub command $subCmd in role $role for $devType device $devName");
next URCSUB; next URCSUB;
} }

View File

@ -566,13 +566,9 @@ $HMCCU_CONFIG_VERSION = '5.0';
'sensor-on-till' => 'V:ON_TIME:?time V:STATE:1' 'sensor-on-till' => 'V:ON_TIME:?time V:STATE:1'
}, },
'SWITCH_VIRTUAL_RECEIVER' => { 'SWITCH_VIRTUAL_RECEIVER' => {
'COMBINED_PARAMETER' => {
'OT' => 'ON_TIME',
'S' => 'STATE'
},
'on' => 'V:STATE:1', 'on' => 'V:STATE:1',
'off' => 'V:STATE:0', 'off' => 'V:STATE:0',
'on-for-timer' => 'COMBINED_PARAMETER V:OT:?duration V:S:true', 'on-for-timer' => '1:V:ON_TIME:?time=0.0 2:V:STATE:1',
'on-till' => 'V:ON_TIME:?time V:STATE:1', 'on-till' => 'V:ON_TIME:?time V:STATE:1',
'toggle' => 'V:STATE:0,1' 'toggle' => 'V:STATE:0,1'
}, },