FHEMWEB: fix showtime checking for 0 (Forum #34322)
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@8094 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -2420,7 +2420,7 @@ FW_devState($$@)
|
||||
my $txt = $state;
|
||||
my $dsi = ($attr{$d} && ($attr{$d}{stateFormat} || $attr{$d}{devStateIcon}));
|
||||
|
||||
if(defined(AttrVal($d, "showtime", undef))) {
|
||||
if(AttrVal($d, "showtime", undef)) {
|
||||
my $v = $defs{$d}{READINGS}{state}{TIME};
|
||||
$txt = $v if(defined($v));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user