2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

59_Twilight: State is now also available in the readings

git-svn-id: https://svn.fhem.de/fhem/trunk@6953 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mrp666 2014-11-11 23:04:30 +00:00
parent 4c8c631b9c
commit 290d6e7328

View File

@ -372,6 +372,7 @@ sub Twilight_fireEvent($)
$hash->{STATE} = $state;
readingsBeginUpdate($hash);
readingsBulkUpdate ($hash, "state", $state);
readingsBulkUpdate ($hash, "light", $light);
readingsBulkUpdate ($hash, "horizon", $deg);
readingsBulkUpdate ($hash, "aktEvent", $sx);