Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openDTU v24.2.12 breaking change - code fix #145

Merged
merged 6 commits into from
Feb 19, 2024

Conversation

henne49
Copy link
Owner

@henne49 henne49 commented Feb 18, 2024

No description provided.

@henne49 henne49 linked an issue Feb 19, 2024 that may be closed by this pull request
Copy link
Collaborator

@dsteinkopf dsteinkopf left a comment

Choose a reason for hiding this comment

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

Some small things commented (content warning: German ;-) )

dbus_service.py Show resolved Hide resolved
dbus_service.py Show resolved Hide resolved
dbus_service.py Show resolved Hide resolved
dbus_service.py Show resolved Hide resolved
dbus_service.py Outdated Show resolved Hide resolved
dbus_service.py Outdated Show resolved Hide resolved
@0x7878
Copy link
Collaborator

0x7878 commented Feb 19, 2024

Ich würde mich @dsteinkopf anschließen. Sieht für mich ansonsten gut aus. Eine Frage: Wollen wir die logger.debug aufrufe drin lassen?

@dsteinkopf
Copy link
Collaborator

Wollen wir die logger.debug aufrufe drin lassen?

Ich bin dafür? Hier ist alles nicht sehr performance-kritisch. Läuft ja alles nur alle paar Sekunden. Es wäre evtl. anders, wenn das x-mal pro Sekunde läuft.

@henne49
Copy link
Owner Author

henne49 commented Feb 19, 2024

Wollen wir die logger.debug aufrufe drin lassen?

Ich bin dafür? Hier ist alles nicht sehr performance-kritisch. Läuft ja alles nur alle paar Sekunden. Es wäre evtl. anders, wenn das x-mal pro Sekunde läuft.

Ja die debug logs sollten wieder raus, die waren eigentloich nur für mich und sind jetzt raus

else:
pvyield = root_meter_data["AC"]["0"]["YieldTotal"]["v"]
pvyield = root_meter_data[field_inv]["0"]["YieldTotal"]["v"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Vielleicht noch so ein "if" für die Yield-Feldnamen? Wie Du meinst...

@henne49 henne49 merged commit f3901e0 into main Feb 19, 2024
6 checks passed
@henne49 henne49 deleted the openDTU-v24.2.12-breaking-change branch May 28, 2024 07:28
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.

OpenDTU v24.2.12 breaking API changes
3 participants