fix crash
This commit is contained in:
parent
b4dde90ae9
commit
ed2b5f531d
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user