Skip to content

sungrow fix pv_power#2720

Merged
LKuemmel merged 2 commits intoopenWB:masterfrom
ndrsnhs:sungrow-fix-pv_power
Sep 1, 2025
Merged

sungrow fix pv_power#2720
LKuemmel merged 2 commits intoopenWB:masterfrom
ndrsnhs:sungrow-fix-pv_power

Conversation

@ndrsnhs
Copy link
Contributor

@ndrsnhs ndrsnhs commented Sep 1, 2025

No description provided.

return SungrowInverter(component_config, device_config=device_config, client=client)

def update_components(components: Iterable[Union[SungrowBat, SungrowCounter, SungrowInverter]]):
pv_power = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Im SungrowCounter wird geprüft, ob pv_power ungleich 0 ist. Einen separaten Fall für pv_power = None gibt es nicht. Ist pv_power = 0 dann nicht schlüssiger?

@LKuemmel LKuemmel added this to the 2.1.8 milestone Sep 1, 2025
@LKuemmel LKuemmel merged commit 59f514b into openWB:master Sep 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants