add more readings
This commit is contained in:
parent
a4ddfe9c8a
commit
b4dde90ae9
@ -724,6 +724,12 @@ sub ReadingsProcessing_Powerwalls {
|
|||||||
|
|
||||||
while ( my ( $r, $v ) = each %{$powerwall} ) {
|
while ( my ( $r, $v ) = each %{$powerwall} ) {
|
||||||
$readings{ 'wall_' . $i . '_' . $r } = $v;
|
$readings{ 'wall_' . $i . '_' . $r } = $v;
|
||||||
|
|
||||||
|
if ref($v) eq 'HASH' ) {
|
||||||
|
while ( my ( $s, $t ) = each %{$v} ) {
|
||||||
|
$readings{ 'wall_' . $i . '_' . $r . '_' . $s } = $t;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user