We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dc160b commit 517790eCopy full SHA for 517790e
1 file changed
packages/modules/devices/alpha_ess/alpha_ess/bat.py
@@ -49,6 +49,13 @@ def update(self) -> None:
49
soc = int(soc_reg * 0.1)
50
51
imported, exported = self.sim_counter.sim_count(power)
52
+ bat_state = BatState(
53
+ power=power,
54
+ soc=soc,
55
+ imported=imported,
56
+ exported=exported
57
+ )
58
+ self.store.set(bat_state)
59
60
61
component_descriptor = ComponentDescriptor(configuration_factory=AlphaEssBatSetup)
0 commit comments