mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
76_SolarForecast.pm: contrib 0.10.0
git-svn-id: https://svn.fhem.de/fhem/trunk@23954 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4ee5a1905a
commit
00d78a653a
@ -1236,9 +1236,11 @@ sub writeCacheToFile {
|
||||
my $name = $hash->{NAME};
|
||||
my $type = $hash->{TYPE};
|
||||
|
||||
return if(!$data{$type}{$name}{$cachename});
|
||||
|
||||
my @pvh;
|
||||
|
||||
my $json = encode_json ($data{$type}{$name}{$cachename});
|
||||
my $json = encode_json $data{$type}{$name}{$cachename};
|
||||
push @pvh, $json;
|
||||
|
||||
my $error = FileWrite($file, @pvh);
|
||||
|
Loading…
x
Reference in New Issue
Block a user