49_SSCam: contrib 8.13.2

git-svn-id: https://svn.fhem.de/fhem/trunk@19140 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
DS_Starter
2019-04-07 15:41:23 +00:00
parent 9ad8268f98
commit 00e7ebb089

View File

@@ -1976,13 +1976,14 @@ return;
sub SSCam_myVersion($) {
my ($hash) = @_;
my $name = $hash->{NAME};
my $actvs = "";
my $actvs = 0;
my @vl = split (/-/,ReadingsVal($name, "SVSversion", ""),2);
if(@vl) {
$actvs = $vl[0];
$actvs =~ s/\.//g;
}
return $actvs;
}