Skip to content

Commit

Permalink
Adjust names for boolean checks
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreWohnsland committed Oct 19, 2024
1 parent b574fb7 commit 71be4d8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions src/config/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,27 +164,27 @@ def __init__(self) -> None:
"MAKER_SIMULTANEOUSLY_PUMPS": IntType([build_number_limiter(1, MAX_SUPPORTED_BOTTLES)]),
"MAKER_CLEAN_TIME": IntType([build_number_limiter()], suffix="s"),
"MAKER_ALCOHOL_FACTOR": IntType([build_number_limiter(10, 200)], suffix="%"),
"MAKER_PUMP_REVERSION": BoolType(),
"MAKER_PUMP_REVERSION": BoolType(check_name="Pump can be Reversed"),
"MAKER_REVERSION_PIN": IntType([self._validate_pin_numbers]),
"MAKER_SEARCH_UPDATES": BoolType(),
"MAKER_CHECK_BOTTLE": BoolType(),
"MAKER_PINS_INVERTED": BoolType(),
"MAKER_SEARCH_UPDATES": BoolType(check_name="Search for Updates"),
"MAKER_CHECK_BOTTLE": BoolType(check_name="Check Bottle Volume"),
"MAKER_PINS_INVERTED": BoolType(check_name="Inverted"),
"MAKER_BOARD": ChooseOptions.board,
"MAKER_THEME": ChooseOptions.theme,
"MAKER_MAX_HAND_INGREDIENTS": IntType([build_number_limiter(0, 10)]),
"MAKER_CHECK_INTERNET": BoolType(),
"MAKER_USE_RECIPE_VOLUME": BoolType(),
"MAKER_ADD_SINGLE_INGREDIENT": BoolType(),
"MAKER_CHECK_INTERNET": BoolType(check_name="Check Internet"),
"MAKER_USE_RECIPE_VOLUME": BoolType(check_name="Use Recipe Volume"),
"MAKER_ADD_SINGLE_INGREDIENT": BoolType(check_name="Can Spend Single Ingredient"),
"LED_PINS": ListType(IntType([build_number_limiter(0, 200)]), 0),
"LED_BRIGHTNESS": IntType([build_number_limiter(1, 255)]),
"LED_COUNT": IntType([build_number_limiter(1, 500)]),
"LED_NUMBER_RINGS": IntType([build_number_limiter(1, 10)]),
"LED_DEFAULT_ON": BoolType(),
"LED_IS_WS": BoolType(),
"LED_DEFAULT_ON": BoolType(check_name="Default On"),
"LED_IS_WS": BoolType(check_name="WS281x"),
"RFID_READER": ChooseOptions.rfid,
"MICROSERVICE_ACTIVE": BoolType(),
"MICROSERVICE_ACTIVE": BoolType(check_name="Microservice Active"),
"MICROSERVICE_BASE_URL": StringType(),
"TEAMS_ACTIVE": BoolType(),
"TEAMS_ACTIVE": BoolType(check_name="Teams Active"),
"TEAM_BUTTON_NAMES": ListType(StringType(), 2),
"TEAM_API_URL": StringType(),
"EXP_MAKER_UNIT": StringType(),
Expand Down
2 changes: 1 addition & 1 deletion src/language.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ ui:
en: 'Number of bottles of the machine'
de: 'Flaschenanzahl der Maschine'
MAKER_PREPARE_VOLUME:
en: 'List of Volume of the cocktail to prepare for the user to choose from. Using one value will result in a fixed volume.'
en: 'List of volume of the cocktail to prepare for the user to choose from. Using one value will result in a fixed volume.'
de: 'Liste der Volumen des Cocktails, die der Benutzer auswählen kann. Wenn nur ein Wert gegeben ist, wird ein festes Volumen verwendet.'
MAKER_SIMULTANEOUSLY_PUMPS:
en: 'Maximum number of pumps simultaneously on'
Expand Down

0 comments on commit 71be4d8

Please sign in to comment.