-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Add entity Main Breaker Current Limit #1140
base: main
Are you sure you want to change the base?
Conversation
I can't test on a G5, but according to the docs it's the same as the G4. |
register = 0x71, | ||
fmt = "i", | ||
native_min_value = 10, | ||
native_max_value = 250, |
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.
Does the Inverter allow you to set 250A? As the docs only mention 100A
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.
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.
I was actually looking at 0xD7, where it only mentions 32-100A. It's common for there to be a difference within the docs...
I would keep it at 10-250, people can then set it to what suits.
Or we could have an X1 0x71 with 10-100 and an X3 0x71 with 10-250?
@@ -2842,6 +2854,13 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): | |||
allowedtypes = HYBRID | GEN4 | GEN5, | |||
internal = True, | |||
), | |||
SolaXModbusSensorEntityDescription( | |||
name = "Main Breaker Current Limit", |
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.
name =
Isn't actually required on Internal entities, only the key is required.
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.
Do you want me to remove it then so that it is consistent with other Internal entities?
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.
Please
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.
OK, will do. :)
Should I also add X1 and X3 in the list of allowedtypes?
de91d33
to
5184e05
Compare
5184e05
to
fef7079
Compare
NB Tested only on G4, can someone please look into G5?