This commit is contained in:
Evgenii Abramov
2021-03-30 21:27:16 +03:00
parent 6dab440adb
commit 8366028550

View File

@@ -34,6 +34,7 @@ class Device {
room: options.room || '', room: options.room || '',
type: options.type || 'devices.types.light', type: options.type || 'devices.types.light',
custom_data: { custom_data: {
allowedUsers: options.allowedUsers || [1],
mqtt: options.mqtt || [], mqtt: options.mqtt || [],
valueMapping: options.valueMapping || [], valueMapping: options.valueMapping || [],
}, },