Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint: Check that min/maxValue aligns with options if allowManualEntry is false #4412

Closed
AlCalzone opened this issue Mar 29, 2022 · 0 comments · Fixed by #4455
Closed

Lint: Check that min/maxValue aligns with options if allowManualEntry is false #4412

AlCalzone opened this issue Mar 29, 2022 · 0 comments · Fixed by #4455
Assignees
Labels
bug Something isn't working infrastructure Issues related to infrastructure and development

Comments

@AlCalzone
Copy link
Member

example:

		{
			"#": "2",
			"$if": "firmwareVersion <= 1.1",
			"label": "Switch 1: Type",
			"valueSize": 1,
			"minValue": 0,
			"maxValue": 3,
			"defaultValue": 2,
			"unsigned": true,
			"allowManualEntry": false,
			"options": [
				{
					"label": "Momentary",
					"value": 0
				},
				{
					"label": "Toggle (follow switch)",
					"value": 1
				},
				{
					"label": "Toggle (change state on toggle)",
					"value": 2
				}
			]
		}

Originally posted by @AlCalzone in #4404 (comment)

@AlCalzone AlCalzone added bug Something isn't working infrastructure Issues related to infrastructure and development labels Mar 29, 2022
@AlCalzone AlCalzone self-assigned this Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working infrastructure Issues related to infrastructure and development
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant