Clean-up constant definitions (#2148)

This commit is contained in:
Oxan van Leeuwen authored and GitHub committed 2021-08-23 19:21:30 +12:00
1 parent 8cc3cbb22e
commit 5ec9bb0fb5
12 files changed
+77 -56

No files matched your search

+1 -3
View File
@@ -745,9 +745,7 @@ DeviceInfoResponse APIConnection::device_info(const DeviceInfoRequest &msg) {
resp.mac_address = get_mac_address_pretty();
resp.esphome_version = ESPHOME_VERSION;
resp.compilation_time = App.get_compilation_time();
#ifdef ARDUINO_BOARD
resp.model = ARDUINO_BOARD;
#endif
resp.model = ESPHOME_BOARD;
#ifdef USE_DEEP_SLEEP
resp.has_deep_sleep = deep_sleep::global_has_deep_sleep;
#endif