mirror of
https://github.com/1technophile/OpenMQTTGateway.git
synced 2026-03-21 22:46:59 +01:00
[RF] Filter interlogix discovery (#1570)
Currently, many entities are created with this device, but it seems more like a noise than real devices as they only present an RSSI and battery property. So filtering changes while we search for library optimization.
This commit is contained in:
@@ -171,7 +171,7 @@ void launchRTL_433Discovery(bool overrideDiscovery) {
|
||||
(char*)idWoKey.c_str(), "Govee", pdevice->modelName, (char*)idWoKey.c_str(), false, // device name, device manufacturer, device model, device ID, retain
|
||||
stateClassMeasurement //State Class
|
||||
);
|
||||
} else {
|
||||
} else if (strcmp(pdevice->modelName, "Interlogix-Security") != 0) {
|
||||
createDiscovery("sensor", //set Type
|
||||
(char*)topic.c_str(), parameters[i][1], pdevice->uniqueId, //set state_topic,name,uniqueId
|
||||
"", parameters[i][3], (char*)value_template.c_str(), //set availability_topic,device_class,value_template,
|
||||
|
||||
Reference in New Issue
Block a user