Merge pull request #60 from avollkopf/master

Added ConfigType.STEP
This commit is contained in:
Manuel83 2021-03-21 10:26:11 +01:00 committed by GitHub
commit 580ecc8d00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -7,5 +7,6 @@ class ConfigType(Enum):
KETTLE = "kettle"
ACTOR = "actor"
SENSOR = "sensor"
STEP = "step"

View file

@ -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