add 59_Weather API-Modul Documentation, fix setreading line

This commit is contained in:
Marko Oldenburg 2019-01-15 13:45:31 +01:00
parent 6499d7f858
commit 4c2f92f632

View File

@ -206,9 +206,6 @@ sub Weather_WriteReadings($$) {
readingsBulkUpdate($hash, '.license', $dataRef->{license}->{text}); readingsBulkUpdate($hash, '.license', $dataRef->{license}->{text});
} }
readingsBulkUpdate($hash, "validity", "up-to-date");
### current ### current
if ( defined($dataRef->{current}) and ref( $dataRef->{current} ) eq 'HASH' ) { if ( defined($dataRef->{current}) and ref( $dataRef->{current} ) eq 'HASH' ) {
while( my ($r,$v) = each %{$dataRef->{current}} ) { while( my ($r,$v) = each %{$dataRef->{current}} ) {