Skip to content

Commit

Permalink
Add synth channels to house0 names
Browse files Browse the repository at this point in the history
  • Loading branch information
thdfw committed Dec 5, 2024
1 parent 00211d5 commit 8161fa5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/gwproto/data_classes/house_0_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ class H0N:
primary_flow = "primary-flow"
store_flow = "store-flow"

# synth channels
usable_energy = "usable_energy"
required_energy = "required_energy"

# relay nodes
vdc_relay: Literal["relay1"] = f"relay{House0RelayIdx.vdc}"
tstat_common_relay: Literal["relay2"] = f"relay{House0RelayIdx.tstat_common}"
Expand Down Expand Up @@ -176,6 +180,10 @@ class H0CN:
primary_flow_hz = f"{H0N.primary_flow}-hz"
store_flow_hz = f"{H0N.store_flow}-hz"

# Synth Channels
required_energy = H0N.required_energy
usable_energy = H0N.usable_energy

# relay state channels
vdc_relay_state: Literal["vdc-relay1"] = f"vdc-{H0N.vdc_relay}"
tstat_common_relay_state: Literal["tstat-common-relay2"] = (
Expand Down

0 comments on commit 8161fa5

Please sign in to comment.