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

4949_SSCamSTRM: no name add-on if MODEL is snapgallery

git-svn-id: https://svn.fhem.de/fhem/trunk@16903 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2018-06-23 17:35:45 +00:00
parent 4499b6df90
commit a111ea22dc

View File

@ -28,6 +28,7 @@
#########################################################################################################################
# Versions History:
#
# 1.2.1 23.06.2018 no name add-on if MODEL is snapgallery
# 1.2.0 20.06.2018 running stream as human readable entry for SSCamSTRM-Device
# 1.1.0 16.06.2018 attr hideDisplayName regarding to Forum #88667
# 1.0.1 14.06.2018 commandref revised
@ -43,7 +44,7 @@ package main;
use strict;
use warnings;
my $SSCamSTRMVersion = "1.2.0";
my $SSCamSTRMVersion = "1.2.1";
################################################################
sub SSCamSTRM_Initialize($) {
@ -115,7 +116,7 @@ sub SSCamSTRM_FwFn($$$$) {
return undef if(IsDisabled($d));
$link = AnalyzePerlCommand(undef, $link) if($link =~ m/^{(.*)}$/s);
my $show = $defs{$hash->{PARENT}}->{HELPER}{ACTSTRM};
my $show = $defs{$hash->{PARENT}}->{HELPER}{ACTSTRM} if($hash->{MODEL} !~ /snapgallery/);
$show = $show?"($show)":"";
my $alias = AttrVal($d, "alias", $d); # Linktext als Aliasname oder Devicename setzen