mirror of
https://github.com/esphome/esphome.git
synced 2025-09-15 17:52:19 +01:00
Merge remote-tracking branch 'upstream/dev' into integration
This commit is contained in:
@@ -153,7 +153,7 @@ bool MQTTComponent::send_discovery_() {
|
|||||||
if (node_friendly_name.empty()) {
|
if (node_friendly_name.empty()) {
|
||||||
node_friendly_name = node_name;
|
node_friendly_name = node_name;
|
||||||
}
|
}
|
||||||
const std::string &node_area = App.get_area();
|
std::string node_area = App.get_area();
|
||||||
|
|
||||||
JsonObject device_info = root.createNestedObject(MQTT_DEVICE);
|
JsonObject device_info = root.createNestedObject(MQTT_DEVICE);
|
||||||
const auto mac = get_mac_address();
|
const auto mac = get_mac_address();
|
||||||
|
Reference in New Issue
Block a user