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 2b04c3431c
commit 89ea738ed3

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