HASS Discovery - Create BLE devices automatically to gather entities (#826)
Create automatically devices into Home Assistant through MQTT auto discovery Before, only entities were created automaticaly and they were not linked to a device.
This commit is contained in:
1 parent
a83f725bad
commit
0c01ded583
6 files changed
+200
-109
No files matched your search
+2
-1
@@ -50,7 +50,8 @@ void RFtoMQTTdiscovery(SIGNAL_SIZE_UL_ULL MQTTvalue) { //on the fly switch creat
|
||||
subjectRFtoMQTT, switchRF[1], (char*)getUniqueId(switchRF[1], switchRF[2]).c_str(),
|
||||
will_Topic, switchRF[3], switchRF[4],
|
||||
switchRF[5], switchRF[6], switchRF[7],
|
||||
0, "", "", true, subjectMQTTtoRF);
|
||||
0, "", "", true, subjectMQTTtoRF,
|
||||
"", "", "", "");
|
||||
}
|
||||
# endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user