mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
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:
parent
e49b77efb2
commit
5229ad067c
@ -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…
x
Reference in New Issue
Block a user