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

[homeconnect] Translate operation states #16833

Open
mueller-ma opened this issue Jun 1, 2024 · 2 comments
Open

[homeconnect] Translate operation states #16833

mueller-ma opened this issue Jun 1, 2024 · 2 comments
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@mueller-ma
Copy link
Member

The operation states of Homeconnect devices are in English and not translatable via Crowdin. I could add a custom MAP file, but IMO it would be a better UX if the binding does the translation. There are only a few fixed states, so this shouldn't be too much work:

{
	"data": {
		"key": "BSH.Common.Status.OperationState",
		"value": "BSH.Common.EnumType.OperationState.Run",
		"type": "BSH.Common.EnumType.OperationState",
		"constraints": {
			"allowedvalues": [
				"BSH.Common.EnumType.OperationState.Inactive",
				"BSH.Common.EnumType.OperationState.Ready",
				"BSH.Common.EnumType.OperationState.DelayedStart",
				"BSH.Common.EnumType.OperationState.Run",
				"BSH.Common.EnumType.OperationState.Pause",
				"BSH.Common.EnumType.OperationState.ActionRequired",
				"BSH.Common.EnumType.OperationState.Finished",
				"BSH.Common.EnumType.OperationState.Error",
				"BSH.Common.EnumType.OperationState.Aborting"
			],
			"access": "read"
		}
	}
}

Your Environment

  • Version used: openHAB 4
@mueller-ma mueller-ma added the enhancement An enhancement or new feature for an existing add-on label Jun 1, 2024
@lolodomo
Copy link
Contributor

lolodomo commented Jun 3, 2024

@lolodomo
Copy link
Contributor

lolodomo commented Jun 3, 2024

To be checked if this list is not built dynamically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

No branches or pull requests

2 participants