mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-22 22:11:22 +00:00
Allow to specify adapter type. https://github.com/Koenkk/zigbee-herdsman/issues/72
This commit is contained in:
1 parent
9b80b6785d
commit
6b9baf0114
2 files changed
+2
No files matched your search
@@ -148,6 +148,7 @@ const schema = {
|
||||
properties: {
|
||||
port: {type: ['string', 'null']},
|
||||
disable_led: {type: 'boolean'},
|
||||
adapter: {type: 'string', enum: ['deconz', 'zstack']},
|
||||
},
|
||||
},
|
||||
ban: {type: 'array', items: {type: 'string'}},
|
||||
|
||||
@@ -25,6 +25,7 @@ const herdsmanSettings = {
|
||||
baudRate: settings.get().advanced.baudrate,
|
||||
rtscts: settings.get().advanced.rtscts,
|
||||
path: settings.get().serial.port,
|
||||
adapter: settings.get().serial.adapter,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user