Pre-check input devices in preferences pages

Hello everyone,

Is there a way to preselect all the user sensors for an input capability?

For exemple :
input “contactSensors”, “capability.contactSensor”,
title: “Select Open/Close sensors”, multiple: true, required:false

I want all the user contact sensors to be checked already.

Best regards,
SAMI

I don’t think there is. I vaguely remember somebody from ST stating that they wanted users to have to select devices rather than auto selecting them for security reasons.

@Jim - Maybe you know the official answer?

@baldeagle072 you are correct. The end-user must always select the devices that a SmartApp can interact with.