diff --git a/fhem/CHANGED b/fhem/CHANGED index 273d2e47d..cc365f2d4 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,7 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - update: 98_DOIFtools: add a possibility to set the attribute icon for DOIF + by multiselect to helper_doif, DOIF's new icon D[:]IF - update: 38_netatmo.pm: API changes - new: 34_ESPEasy.pm: initial check in - bugfix: 38_netatmo.pm: fixed error crash diff --git a/fhem/FHEM/98_DOIFtools.pm b/fhem/FHEM/98_DOIFtools.pm index e20cf4372..1992b18e5 100644 --- a/fhem/FHEM/98_DOIFtools.pm +++ b/fhem/FHEM/98_DOIFtools.pm @@ -258,8 +258,8 @@ sub DOIFtools_logWrapper($) { FW_pO "
jump to: the end first listing".($FW_ss ? "
"; - my $suffix = "
jump to: the top first listing
jump to: the end top listing".($FW_ss ? "" : "").""; my $reverseLogs = AttrVal($FW_wname, "reverseLogs", 0); if(!$reverseLogs) { @@ -1296,9 +1296,13 @@ sub DOIFtools_Get($@) $ret = $ret ? "Found running wait_timer for:\n\n$ret" : "No running wait_timer found."; return $ret; + } elsif ($arg eq "SetAttrIconForDOIF") { + $ret .= CommandAttr(undef,"$value icon helper_doif"); + $ret .= CommandSave(undef,undef) if (AttrVal($pn,"DOIFtoolsExecuteSave","")); + return $ret; } else { my $hardcoded = "checkDOIF:noArg statisticsReport:noArg runningTimerInDOIF:noArg"; - return "unknown argument $arg for $pn, choose one of readingsGroup_for:multiple-strict,$dL DOIF_to_Log:multiple-strict,$dL userReading_nextTimer_for:multiple-strict,$ntL ".(AttrVal($pn,"DOIFtoolsHideGetSet",0) ? $hardcoded :""); + return "unknown argument $arg for $pn, choose one of readingsGroup_for:multiple-strict,$dL DOIF_to_Log:multiple-strict,$dL SetAttrIconForDOIF:multiple-strict,$dL userReading_nextTimer_for:multiple-strict,$ntL ".(AttrVal($pn,"DOIFtoolsHideGetSet",0) ? $hardcoded :""); } return $ret; @@ -1465,6 +1469,9 @@ DOIFtools stellt Funktionen zur Unterstützung von DOIF-Geräten bereit.
"; + my $suffix = "
jump to: the top top listing
get <name> runningTimerInDOIFget <name> SetAttrIconForDOIF <DOIF names for setting the attribute icon to helper_doif>