patch-addOnecallMode #5

Merged
marko merged 26 commits from patch-addOnecallMode into dev 2022-12-20 13:44:37 +00:00
Showing only changes of commit a9d9ad722c - Show all commits

View File

@ -340,12 +340,12 @@ sub Weather_DeleteReadings {
$forecastLimit = $forecastLimitNoForecast
if ( !$forecastConfig->{daily} );
CommandDeleteReading( undef,
$name . ' ' . 'fc[' . $forecastLimit . '-9][0-9]?_.*' );
$name . ' ' . 'fc([' . $forecastLimit . '-9]|[0-9]{2})_.*' );
$forecastLimit = $forecastLimitNoForecast
if ( !$forecastConfig->{hourly} );
CommandDeleteReading( undef,
$name . ' ' . 'hfc[' . $forecastLimit . '-9][0-9]?_.*' );
$name . ' ' . 'hfc([' . $forecastLimit . '-9]|[0-9]{2})_.*' );
return;
}