70_BOTVAC.pm: de-referenced hash of maps

git-svn-id: https://svn.fhem.de/fhem/trunk@19231 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
vuffiraa
2019-04-21 07:37:23 +00:00
parent 02af0ff154
commit b8201bb0bf

View File

@@ -1185,7 +1185,7 @@ sub ReceiveCommand($$$) {
if (@maps) {
# take first - newest
my $map = $maps[0];
foreach my $key (keys $map) {
foreach my $key (keys %$map) {
readingsBulkUpdateIfChanged($hash, "map_".$key, defined($map->{$key})?$map->{$key}:"")
if ($key !~ "url|url_valid_for_seconds|generated_at|start_at|end_at");
}