76_SMAPortal: contrib 1.7.0

git-svn-id: https://svn.fhem.de/fhem/trunk@19309 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
DS_Starter
2019-05-01 16:27:25 +00:00
parent a24999b37d
commit acdae80fd3

View File

@@ -1376,7 +1376,7 @@ sub PortalAsHtml ($) {
# Werte aktuelle Stunde
$pv{0} = ReadingsNum($name,"L2_ThisHour_PvMeanPower", undef);
$is{0} = (ReadingsVal($name,"L2_ThisHour_IsConsumptionRecommended",'no') eq 'yes' ) ? $icon : undef;
return "Awaiting level 4 data ... " if(!defined $pv{0} || !defined $is{0});
return "Awaiting level 4 data ... " if(!defined $pv{0});
if(AttrVal("global","language","EN") eq "DE") {
(undef,undef,undef,$t{0}) = ReadingsVal($name,"L2_ThisHour_Time",'0') =~ m/(\d{2}).(\d{2}).(\d{4})\s(\d{2})/;
} else {