2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

01_FHEMWEB.pm: do not generate default dropdown for FHT/MAX when stateFormat is set (Forum #32055)

git-svn-id: https://svn.fhem.de/fhem/trunk@7568 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-01-14 18:13:04 +00:00
parent e49c60c118
commit 5af97baa75

View File

@ -2382,7 +2382,7 @@ FW_devState($$@)
$hasOnOff = ($allSets =~ m/(^| )on(:[^ ]*)?( |$)/ &&
$allSets =~ m/(^| )off(:[^ ]*)?( |$)/);
my $txt = $state;
my $dsi = AttrVal($d, "devStateIcon", undef);
my $dsi = ($attr{$d} && ($attr{$d}{stateFormat} || $attr{$d}{devStateIcon}));
if(defined(AttrVal($d, "showtime", undef))) {
my $v = $defs{$d}{READINGS}{state}{TIME};