59_Weather: added missing code reading

git-svn-id: https://svn.fhem.de/fhem/trunk@11142 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert
2016-03-28 19:20:21 +00:00
parent a3bc5c80ce
commit ed367b325f

View File

@@ -283,6 +283,7 @@ sub Weather_RetrieveDataFinished($$$) {
readingsBulkUpdate($hash, "current_date_time", $date);
readingsBulkUpdate($hash, "day_of_week", $wdays_txt_i18n{substr($date,0,3)});
my $code= $item->{condition}{code};
readingsBulkUpdate($hash, "code", $code);
readingsBulkUpdate($hash, "condition", $YahooCodes_i18n[$code]);
readingsBulkUpdate($hash, "icon", $iconlist[$code]);
my $temp= $item->{condition}{temp};