Skip to content

Commit a2e2a05

Browse files
Merge pull request #50 from mattjgalloway/patch-2
Fix PVEnergySensor
2 parents 0103306 + fb24c84 commit a2e2a05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

custom_components/mixergy/sensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ def __init__(self, tank:Tank):
383383
integration_method="left",
384384
unique_id=f"mixergy_{tank.tank_id}_pv_energy"
385385
)
386+
self._tank = tank
386387

387388
@property
388389
def icon(self):

0 commit comments

Comments
 (0)