Skip to content

Commit 7144eff

Browse files
0xAHAclaude
andcommitted
fix: dci_s/dci_t sensors only created on three-phase profiles
Moved dci_s and dci_t from STATUS_SENSORS (included in all profiles) to THREE_PHASE_SENSORS (only included in HYBRID_3P_SENSORS and GRID_TIED_3P_SENSORS). Single-phase inverters (MIN, TL-XH, SPH) will no longer have S/T-phase DC injection entities created at all. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent fe08e10 commit 7144eff

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

custom_components/growatt_modbus/device_profiles.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
# WIT debug/safety registers (read-only, disabled by default)
104104
"ntognd_detect", "nonstd_vac_enable", "enable_spec_set", "fast_mppt_enable",
105105
# Insulation/leakage diagnostics (ISO/DCI/GFCI — reg 3087-3091, disabled by default)
106-
"pv_iso", "dci_r", "dci_s", "dci_t", "gfci",
106+
"pv_iso", "dci_r", "gfci",
107107
}
108108

109109
THREE_PHASE_SENSORS: Set[str] = {
@@ -112,6 +112,8 @@
112112
"ac_current_r", "ac_current_s", "ac_current_t", # Phase currents
113113
"ac_power_r", "ac_power_s", "ac_power_t", # Phase powers
114114
"ac_frequency",
115+
# S/T-phase DC injection — only meaningful on 3-phase inverters (reg 3089/3090)
116+
"dci_s", "dci_t",
115117
}
116118

117119
SYSTEM_OUTPUT_SENSORS: Set[str] = {

0 commit comments

Comments
 (0)