Skip to content

Commit 8f19cee

Browse files
authored
[DEV 3329] Support profiles for FixedLoadTimeOverride (#33)
Signed-off-by: Jimmy Tung <[email protected]>
1 parent 060722f commit 8f19cee

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# EAS Python client
22
## [0.19.0] - UNRELEASED
33
### Breaking Changes
4-
* None.
4+
* `FixedTimeLoadOverride` now takes in optional list of floats instead of optional float for its variable.
55

66
### New Features
77
* None.

src/zepben/eas/client/work_package.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,24 +69,24 @@ class SwitchMeterPlacementConfig:
6969

7070
@dataclass
7171
class FixedTimeLoadOverride:
72-
load_watts: Optional[float]
72+
load_watts: Optional[List[float]]
7373
"""
74-
The reading to be used to override load watts
74+
The readings to be used to override load watts
7575
"""
7676

77-
gen_watts: Optional[float]
77+
gen_watts: Optional[List[float]]
7878
"""
79-
The reading to be used to override gen watts
79+
The readings to be used to override gen watts
8080
"""
8181

82-
load_var: Optional[float]
82+
load_var: Optional[List[float]]
8383
"""
84-
The reading to be used to override load var
84+
The readings to be used to override load var
8585
"""
8686

87-
gen_var: Optional[float]
87+
gen_var: Optional[List[float]]
8888
"""
89-
The reading to be used to override gen var
89+
The readings to be used to override gen var
9090
"""
9191

9292
# def __str__(self):

0 commit comments

Comments
 (0)