add more readings

This commit is contained in:
Marko Oldenburg 2021-02-27 15:42:17 +01:00
parent a4ddfe9c8a
commit b4dde90ae9
2 changed files with 7 additions and 1 deletions

View File

@ -724,6 +724,12 @@ sub ReadingsProcessing_Powerwalls {
while ( my ( $r, $v ) = each %{$powerwall} ) {
$readings{ 'wall_' . $i . '_' . $r } = $v;
if ref($v) eq 'HASH' ) {
while ( my ( $s, $t ) = each %{$v} ) {
$readings{ 'wall_' . $i . '_' . $r . '_' . $s } = $t;
}
}
}
$i++;

View File

@ -1 +1 @@
UPD 2021-02-27_15:27:28 30716 FHEM/46_TeslaPowerwall2AC.pm
UPD 2021-02-27_15:42:04 30955 FHEM/46_TeslaPowerwall2AC.pm