2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 04:36:36 +00:00

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:
nasseeder1 2019-04-07 15:41:23 +00:00
parent 6cfb8bbcb1
commit ea50574455

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;
}