Skip to content

Commit

Permalink
Rolling back user input changes in #240 (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusoverli committed Sep 15, 2021
1 parent 95cbfc5 commit 0bfa635
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions utils/measure_v2/measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,31 +233,31 @@ def write_model_json(
def get_questions(self) -> list[dict]:
return (
[
{
"type": "input",
"name": "model_name",
"message": "Specify the full model name of your light. Ex: TRADFRI bulb GU10 WW 400lm",
"when": lambda answers: answers["generate_model_json"],
},
{
"type": "list",
"name": "color_mode",
"message": "Select the color mode?",
"default": MODE_HS,
"choices": [MODE_HS, MODE_COLOR_TEMP, MODE_BRIGHTNESS],
},
{
"type": "input",
"name": "measure_device",
"message": "Which device do you use to take the measurement? Ex: Fibaro FGWP102",
"when": lambda answers: answers["generate_model_json"],
},
{
"type": "confirm",
"message": "Do you want to generate model.json?",
"name": "generate_model_json",
"default": True,
},
{
"type": "input",
"name": "model_name",
"message": "Specify the full light model name",
"when": lambda answers: answers["generate_model_json"],
},
{
"type": "input",
"name": "measure_device",
"message": "Which device (manufacturer, model) do you use to take the measurement?",
"when": lambda answers: answers["generate_model_json"],
},
{
"type": "confirm",
"message": "Do you want to gzip CSV files?",
Expand Down

0 comments on commit 0bfa635

Please sign in to comment.