I know how to show a select(dropdown list) of binary devices for example.
Code: Select all
{
"field": "enum",
"datasource": "namespaces",
"enum": "namespaces:devices_sensorBinary:deviceId,namespaces:devices_switchBinary:deviceId",
"required": true
},
Is there any datasource for the users ?
An example...
You activate the module and in the config page, you select a user in the users list.
That module create a virtual device that show the last time this user logued in.
I want my module to do stuff based on the selected user.
Thanks !