mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-23 22:32:40 +00:00
Make serial and serial.port optional.
This commit is contained in:
1 parent
d5925efca7
commit
f3a51f66fd
1 file changed
+2
-3
@@ -126,10 +126,9 @@ const schema = {
|
||||
serial: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
port: {type: ['string', 'null']},
|
||||
port: {type: ['string']},
|
||||
disable_led: {type: 'boolean'},
|
||||
},
|
||||
required: ['port'],
|
||||
},
|
||||
ban: {type: 'array', items: {type: 'string'}},
|
||||
whitelist: {type: 'array', items: {type: 'string'}},
|
||||
@@ -230,7 +229,7 @@ const schema = {
|
||||
},
|
||||
},
|
||||
},
|
||||
required: ['homeassistant', 'permit_join', 'mqtt', 'serial'],
|
||||
required: ['homeassistant', 'permit_join', 'mqtt'],
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user