exposes: [
...
e.enum('sensor', ea.STATE_SET, ['on', 'off', 'occupied', 'unoccupied'])
.withDescription('The radar sensor can be set in four states: on, off, occupied and unoccupied. For example, if set to occupied, it will continue to maintain presence regardless of whether someone is present or not. If set to unoccupied, the unoccupied state will be maintained permanently.'),
],
meta: {
tuyaDatapoints: [
...
[115, 'sensor', tuya.valueConverterBasic.lookup({'on': tuya.enum(0), 'off': tuya.enum(1), 'occupied': tuya.enum(2), 'unoccupied': tuya.enum(3)})],
],
},