Tuya device "TS0601" - "_TZE204_mtoaryre" and "TS0601" - "_TZE204_iaeejhvf" in property "sensor" missing the "occupied" and "unoccupied"
BKuba65 opened this issue · 1 comments
BKuba65 commented
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)})],
],
},
Koenkk commented
Done!
Changes will be available in the dev branch in a few hours from now.