From c15a56be30a3da8970a39d26613e35acc7ab39d7 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Tue, 3 Nov 2020 19:47:39 +0000 Subject: [PATCH] 76_SMAPortal: contrib 3.6.2 git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@23089 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- contrib/DS_Starter/76_SMAPortal.pm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/contrib/DS_Starter/76_SMAPortal.pm b/contrib/DS_Starter/76_SMAPortal.pm index 7e02fc132..ab66443c6 100644 --- a/contrib/DS_Starter/76_SMAPortal.pm +++ b/contrib/DS_Starter/76_SMAPortal.pm @@ -1004,13 +1004,7 @@ sub GetSetData { ## no critic 'complexity' ### Daten abrufen ############################# - if($getp ne "none") { - - _detailViewOn ({ name => $name, - ua => $ua, - state => $state, - daref => \@da - }); + if($getp ne "none") { for my $k (keys %{$subs{$name}}) { next if(!$subs{$name}{$k}{doit}); @@ -1879,7 +1873,7 @@ sub _detailViewOn { ## no critic "not used" my $tag = "detailViewSwitch"; my %fields = ("Content-Type" => "application/json; charset=utf-8"); - my $cont = qq{{"showDetailMode":"true"}}; + my $cont = qq{{"showDetailMode":true}}; ($errstate,$state) = __dispatchPost ({ name => $name, ua => $ua,