Skip to content

Commit

Permalink
Merge pull request #397 from thegridelectric/jm/state
Browse files Browse the repository at this point in the history
Jm/state
  • Loading branch information
jessicamillar authored Dec 15, 2024
2 parents f8c880a + 7cb325d commit 6188b9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gwproto/enums/telemetry_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class TelemetryName(GwStrEnum):
MicroVolts = auto()
VoltsTimesTen = auto()
WattHours = auto()
StorageLayer = auto()

@classmethod
def default(cls) -> "TelemetryName":
Expand Down
1 change: 1 addition & 0 deletions tests/enums/telemetry_name_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def test_telemetry_name() -> None:
"MicroVolts",
"VoltsTimesTen",
"WattHours",
"StorageLayer",
}

assert TelemetryName.default() == TelemetryName.Unknown
Expand Down

0 comments on commit 6188b9c

Please sign in to comment.