Skip to content

Commit

Permalink
add threshold to capacity input
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Pecinovsky committed Aug 13, 2024
1 parent 8934a0e commit a099d9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion openenergyid/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Open Energy ID Python SDK."""

__version__ = "0.1.15"
__version__ = "0.1.16"

from .enums import Granularity
from .models import TimeDataFrame, TimeSeries
Expand Down
1 change: 1 addition & 0 deletions openenergyid/capacity/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class CapacityInput(BaseModel):

timezone: str = Field(alias="timeZone")
series: TimeSeries
threshold: float = Field(ge=0)


class PeakDetail(BaseModel):
Expand Down

0 comments on commit a099d9a

Please sign in to comment.