-
Notifications
You must be signed in to change notification settings - Fork 107
Add IDM heatpump as counter #2766
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
Conversation
| self.fault_state = FaultState(ComponentInfo.from_component_config(self.component_config)) | ||
|
|
||
| def update(self): | ||
| unit = self.component_config.configuration.modbus_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Die Modbus-ID liegt in der Device config. Da über die Wärmepumpe wahrscheinlich keine weiteren Komponenten abgefragt werden können, ist es egal, ob die ModbusID in den Gerät oder Komponenten Einstellungen liegt.
Du kannst im kwargs dict noch die ModbusID ergänzen und dann mit an die Komponente übergeben.
Kannst Du das bitte noch ändern?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wenn ich es richtig verstanden habe, dann hab ich das so umgesetzt, kannst du nochmal drüberschauen?
openWB/openwb-ui-settings#797