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:
parent
7b1a373111
commit
47bd927133
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user