95_holiday.pm: add today as reading (Forum #123818)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25187 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-11-06 09:54:35 +00:00
parent e49b77efb2
commit 5229ad067c

View File

@ -246,6 +246,7 @@ holiday_refresh($;$$)
readingsBeginUpdate($hash);
readingsBulkUpdate($hash, 'state', $found);
readingsBulkUpdate($hash, 'today', $found);
readingsBulkUpdate($hash, 'yesterday', CommandGet(undef,"$name yesterday"));
readingsBulkUpdate($hash, 'tomorrow', CommandGet(undef,"$name tomorrow"));
readingsEndUpdate($hash,1);