This commit is contained in:
Marko Oldenburg 2018-01-17 20:53:11 +01:00
parent 1ddf81f2bf
commit afe23ef2e4

View File

@ -721,7 +721,12 @@ sub AMADDevice_Set($$@) {
elsif( lc $cmd eq 'currentflowsetupdate' ) { elsif( lc $cmd eq 'currentflowsetupdate' ) {
if( ReadingsVal($name,'flowsetVersionAtDevice','') lt '4.1.99.6' ) {
$path = "/fhem-amad/currentFlowsetUpdate";
} else {
$path = "/fhem-amad/setCommands/currentFlowsetUpdate"; $path = "/fhem-amad/setCommands/currentFlowsetUpdate";
}
$method = "POST"; $method = "POST";
} }