mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-28 02:44:53 +00:00
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:
parent
651063330f
commit
769daa291b
@ -1376,7 +1376,7 @@ sub PortalAsHtml ($) {
|
|||||||
# Werte aktuelle Stunde
|
# Werte aktuelle Stunde
|
||||||
$pv{0} = ReadingsNum($name,"L2_ThisHour_PvMeanPower", undef);
|
$pv{0} = ReadingsNum($name,"L2_ThisHour_PvMeanPower", undef);
|
||||||
$is{0} = (ReadingsVal($name,"L2_ThisHour_IsConsumptionRecommended",'no') eq 'yes' ) ? $icon : 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") {
|
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})/;
|
(undef,undef,undef,$t{0}) = ReadingsVal($name,"L2_ThisHour_Time",'0') =~ m/(\d{2}).(\d{2}).(\d{4})\s(\d{2})/;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user