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:
parent
3b56ca18b1
commit
298ed8d34d
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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'
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user