diff --git a/bundles/org.openhab.ui/web/src/assets/definitions/metadata/alexa/parameters.js b/bundles/org.openhab.ui/web/src/assets/definitions/metadata/alexa/parameters.js index 1cc40024aa..fb8b9dd9d2 100644 --- a/bundles/org.openhab.ui/web/src/assets/definitions/metadata/alexa/parameters.js +++ b/bundles/org.openhab.ui/web/src/assets/definitions/metadata/alexa/parameters.js @@ -26,7 +26,8 @@ export default { default: defaultValue, placeholder: placeholder.replace(/,/g, '\n'), multiple: true, - advanced: !!defaultValue + advanced: !!defaultValue, + visible: (_, config) => !config.nonControllable }), capabilityNames: (defaultValue, placeholder) => ({ name: 'capabilityNames', @@ -301,7 +302,8 @@ export default { description: `Each mapping formatted as ${getSemanticFormat('state', format)} (${docLink('Semantic Extensions')})`, type: 'TEXT', placeholder: placeholder.replace(/,/g, '\n'), - multiple: true + multiple: true, + visible: (_, config) => !!config.retrievable }), stepSpeaker: () => ({ name: 'stepSpeaker',