Skip to content

Commit 29e36f9

Browse files
authored
feat: add support for more cell types (#69)
1 parent 1d8474e commit 29e36f9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pyomnilogic_local/omnitypes.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,22 +107,35 @@ class ChlorinatorDispenserType(str, PrettyEnum):
107107

108108

109109
class ChlorinatorCellType(PrettyEnum):
110+
UNKNOWN = "CELL_TYPE_UNKNOWN"
110111
T3 = "CELL_TYPE_T3"
111112
T5 = "CELL_TYPE_T5"
112113
T9 = "CELL_TYPE_T9"
113114
T15 = "CELL_TYPE_T15"
115+
T15_LS = "CELL_TYPE_T15_LS"
116+
TCELLS315 = "CELL_TYPE_TCELLS315"
117+
TCELLS325 = "CELL_TYPE_TCELLS325"
118+
TCELLS340 = "CELL_TYPE_TCELLS340"
114119
LIQUID = "CELL_TYPE_LIQUID"
120+
TABLET = "CELL_TYPE_TABLET"
115121

116122
# There is probably an easier way to do this
117123
def __int__(self) -> int:
118124
return ChlorinatorCellInt[self.name].value
119125

120126

121127
class ChlorinatorCellInt(IntEnum):
128+
UNKNOWN = 0
122129
T3 = 1
123130
T5 = 2
124131
T9 = 3
125132
T15 = 4
133+
T15_LS = 5
134+
TCELLS315 = 6
135+
TCELLS325 = 7
136+
TCELLS340 = 8
137+
LIQUID = 9
138+
TABLET = 10
126139

127140

128141
# Lights

0 commit comments

Comments
 (0)