mirror of
https://github.com/1technophile/OpenMQTTGateway.git
synced 2026-02-20 00:32:04 +01:00
[BT] Bump Theengs Decoder to 1.6.3 (#1811)
This commit is contained in:
@@ -1029,14 +1029,6 @@ void launchBTDiscovery(bool overrideDiscovery) {
|
||||
0, "", "", false, "",
|
||||
model.c_str(), brand.c_str(), model_id.c_str(), macWOdots.c_str(), false,
|
||||
stateClassMeasurement, nullptr, nullptr, "[\"lb\",\"kg\",\"jin\"]");
|
||||
} else if (strcmp(prop.key().c_str(), "pres") == 0 || strcmp(prop.key().c_str(), "movement") == 0) {
|
||||
createDiscovery("binary_sensor",
|
||||
discovery_topic.c_str(), entity_name.c_str(), unique_id.c_str(),
|
||||
will_Topic, "motion", value_template.c_str(), // Idealy we should have the decoder give the name here as "motion" but for now it gives "presence"
|
||||
"True", "False", "",
|
||||
BTConfig.presenceAwayTimer, "", "", false, "",
|
||||
model.c_str(), brand.c_str(), model_id.c_str(), macWOdots.c_str(), false,
|
||||
stateClassNone);
|
||||
} else if (strcmp(prop.value()["unit"], "string") == 0 && strcmp(prop.key().c_str(), "mac") != 0) {
|
||||
createDiscovery("sensor",
|
||||
discovery_topic.c_str(), entity_name.c_str(), unique_id.c_str(),
|
||||
|
||||
@@ -152,7 +152,7 @@ somfy_remote=Somfy_Remote_Lib@0.3.0
|
||||
rtl_433_ESP = https://github.com/NorthernMan54/rtl_433_ESP.git#v0.3.0
|
||||
emodbus = miq19/eModbus@1.0.0
|
||||
gfSunInverter = https://github.com/BlackSmith/GFSunInverter.git#v1.0.1
|
||||
decoder = https://github.com/theengs/decoder.git#v1.6.2
|
||||
decoder = https://github.com/theengs/decoder.git#v1.6.3
|
||||
ssd1306 = https://github.com/ThingPulse/esp8266-oled-ssd1306.git#f96fd6a
|
||||
lm75 = jeremycole/I2C Temperature Sensors derived from the LM75@^1.0.3
|
||||
rn8209 = https://github.com/theengs/RN8209C-SDK.git#arduino
|
||||
|
||||
Reference in New Issue
Block a user