diff --git a/FHEM/46_TeslaPowerwall2AC.pm b/FHEM/46_TeslaPowerwall2AC.pm index cbbf3b4..ec4577d 100644 --- a/FHEM/46_TeslaPowerwall2AC.pm +++ b/FHEM/46_TeslaPowerwall2AC.pm @@ -725,7 +725,7 @@ sub ReadingsProcessing_Powerwalls { while ( my ( $r, $v ) = each %{$powerwall} ) { $readings{ 'wall_' . $i . '_' . $r } = $v; - if ref($v) eq 'HASH' ) { + if ( ref($v) eq 'HASH' ) { while ( my ( $s, $t ) = each %{$v} ) { $readings{ 'wall_' . $i . '_' . $r . '_' . $s } = $t; } diff --git a/controls_TeslaPowerwall2AC.txt b/controls_TeslaPowerwall2AC.txt index 0cd9cb0..578a684 100644 --- a/controls_TeslaPowerwall2AC.txt +++ b/controls_TeslaPowerwall2AC.txt @@ -1 +1 @@ -UPD 2021-02-27_15:42:04 30955 FHEM/46_TeslaPowerwall2AC.pm +UPD 2021-02-27_15:47:38 30957 FHEM/46_TeslaPowerwall2AC.pm