mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-12-22 13:34:55 +01:00
Added ConfigType.STEP
This supports also the pre-configuration of steps in the cbpi settings
This commit is contained in:
parent
2a018fb731
commit
baf285be9f
2 changed files with 3 additions and 1 deletions
|
@ -7,5 +7,6 @@ class ConfigType(Enum):
|
|||
KETTLE = "kettle"
|
||||
ACTOR = "actor"
|
||||
SENSOR = "sensor"
|
||||
STEP = "step"
|
||||
|
||||
|
||||
|
|
|
@ -127,6 +127,7 @@ class ConfigType(Enum):
|
|||
KETTLE="kettle"
|
||||
NUMBER="number"
|
||||
SELECT="select"
|
||||
STEP="step"
|
||||
|
||||
@dataclass
|
||||
class Config:
|
||||
|
@ -158,4 +159,4 @@ class NotificationType(Enum):
|
|||
SUCCESS="success"
|
||||
|
||||
def __str__(self):
|
||||
return self.value
|
||||
return self.value
|
||||
|
|
Loading…
Reference in a new issue