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:
Thibault Cohen authored and GitHub committed 2020-12-22 06:31:13 -06:00
1 parent a83f725bad
commit 0c01ded583
6 files changed
+200 -109

No files matched your search

+2 -1
View File
@@ -110,7 +110,8 @@ void pubOneWire_HADiscovery() {
"temperature",
jsonTempc,
"", "", "°C",
0, "", "", true, "");
0, "", "", true, "",
"", "", "", "");
}
# endif
}