mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 18:39:09 -07:00
Dont handle messages without cid.
This commit is contained in:
parent
21575673b3
commit
f9860f5b9d
@ -52,8 +52,8 @@ class Controller {
|
||||
settings.write();
|
||||
}
|
||||
|
||||
// We can't handle devices without modelId.
|
||||
if (!device.modelId) {
|
||||
// We can't handle devices without modelId or cid.
|
||||
if (!device.modelId || !message.data.cid) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user