1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-18 07:45:56 +00:00

Clean-up constant definitions (#2148)

This commit is contained in:
Oxan van Leeuwen
2021-08-23 09:21:30 +02:00
committed by GitHub
parent 8cc3cbb22e
commit 5ec9bb0fb5
12 changed files with 77 additions and 56 deletions

View File

@@ -102,9 +102,7 @@ bool MQTTComponent::send_discovery_() {
device_info["identifiers"] = get_mac_address();
device_info["name"] = node_name;
device_info["sw_version"] = "esphome v" ESPHOME_VERSION " " + App.get_compilation_time();
#ifdef ARDUINO_BOARD
device_info["model"] = ARDUINO_BOARD;
#endif
device_info["model"] = ESPHOME_BOARD;
device_info["manufacturer"] = "espressif";
},
0, discovery_info.retain);