Skip to content

Commit 2fabd4a

Browse files
committed
feat: add support for S6-EH3P(5-10)K-H inverter model
1 parent 834d86e commit 2fabd4a

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ After successful configuration, the integration creates a new entity for your in
5656
All Solis hybrid inverters should be supported, although the integration has been tested with the following models:
5757

5858
* S6-EH3P(8-15)K02-NV-YD-L, model "3331"
59+
* S6-EH3P(5-10)K-H, model "3306"
5960
* RHI-3P(3-10)K-HVES-5G, model "CA"
6061

6162
The integration also supports the following Solis string inverters:
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
from dataclasses import replace
2+
3+
from custom_components.solis_cloud_control.api.solis_api import SolisCloudControlApiClient
4+
from custom_components.solis_cloud_control.inverters.inverter import Inverter, InverterInfo, InverterMaxExportPower
5+
6+
7+
# S6-EH3P(5-10)K-H
8+
async def create_inverter(
9+
inverter_info: InverterInfo,
10+
api_client: SolisCloudControlApiClient, # noqa: ARG001
11+
) -> Inverter:
12+
inverter = Inverter.create_hybrid_inverter(inverter_info)
13+
14+
power = inverter_info.power_watts if inverter_info.power_watts is not None else 10_000
15+
inverter = replace(inverter, max_export_power=InverterMaxExportPower(max_value=power))
16+
17+
return inverter

0 commit comments

Comments
 (0)