Bump decoder to 1.5.5 (#1699)
Filter the new attribute mac to avoid creating discovery sensor for it
This commit is contained in:
1 parent
5ff086a296
commit
4ff05d5ac4
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1122,7 +1122,7 @@ void launchBTDiscovery(bool overrideDiscovery) {
|
|||||||
Gateway_AnnouncementMsg, will_Message, false, subjectMQTTtoBTset,
|
Gateway_AnnouncementMsg, will_Message, false, subjectMQTTtoBTset,
|
||||||
model.c_str(), brand.c_str(), model_id.c_str(), macWOdots.c_str(), false,
|
model.c_str(), brand.c_str(), model_id.c_str(), macWOdots.c_str(), false,
|
||||||
stateClassNone, "off", "on");
|
stateClassNone, "off", "on");
|
||||||
} else if (strcmp(prop.key().c_str(), "device") != 0) {
|
} else if (strcmp(prop.key().c_str(), "device") != 0 || strcmp(prop.key().c_str(), "mac") != 0) { // Exception on device and mac as these ones are not sensors
|
||||||
createDiscovery("sensor",
|
createDiscovery("sensor",
|
||||||
discovery_topic.c_str(), entity_name.c_str(), unique_id.c_str(),
|
discovery_topic.c_str(), entity_name.c_str(), unique_id.c_str(),
|
||||||
will_Topic, prop.value()["name"], value_template.c_str(),
|
will_Topic, prop.value()["name"], value_template.c_str(),
|
||||||
|
|||||||
+1
-1
@@ -151,7 +151,7 @@ somfy_remote=Somfy_Remote_Lib@0.3.0
|
|||||||
rtl_433_ESP = https://github.com/NorthernMan54/rtl_433_ESP.git#v0.3.0
|
rtl_433_ESP = https://github.com/NorthernMan54/rtl_433_ESP.git#v0.3.0
|
||||||
emodbus = miq19/eModbus@1.0.0
|
emodbus = miq19/eModbus@1.0.0
|
||||||
gfSunInverter = https://github.com/BlackSmith/GFSunInverter.git#v1.0.1
|
gfSunInverter = https://github.com/BlackSmith/GFSunInverter.git#v1.0.1
|
||||||
decoder = https://github.com/theengs/decoder.git#v1.5.0
|
decoder = https://github.com/theengs/decoder.git#v1.5.5
|
||||||
ssd1306 = https://github.com/ThingPulse/esp8266-oled-ssd1306.git#f96fd6a
|
ssd1306 = https://github.com/ThingPulse/esp8266-oled-ssd1306.git#f96fd6a
|
||||||
lm75 = jeremycole/I2C Temperature Sensors derived from the LM75@^1.0.3
|
lm75 = jeremycole/I2C Temperature Sensors derived from the LM75@^1.0.3
|
||||||
rn8209 = https://github.com/theengs/RN8209C-SDK.git#arduino
|
rn8209 = https://github.com/theengs/RN8209C-SDK.git#arduino
|
||||||
|
|||||||
Reference in new issue
Block a user