2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

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

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

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);