It seems this can't be done in a driver, only in an app, probably due to security:
https://community.hubitat.com/t/device-selector-input-preference-in-device-driver/19323
It seems this can't be done in a driver, only in an app, probably due to security:
https://community.hubitat.com/t/device-selector-input-preference-in-device-driver/19323