add 59_Weather API-Modul Documentation, fix setreading line
This commit is contained in:
parent
6499d7f858
commit
4c2f92f632
@ -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}} ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user