mirror of
https://github.com/esphome/esphome.git
synced 2025-11-18 15:55:46 +00:00
separate debug component for each platform in different file (#6715)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -59,6 +59,11 @@ class DebugComponent : public PollingComponent {
|
||||
text_sensor::TextSensor *device_info_{nullptr};
|
||||
text_sensor::TextSensor *reset_reason_{nullptr};
|
||||
#endif // USE_TEXT_SENSOR
|
||||
|
||||
std::string get_reset_reason_();
|
||||
uint32_t get_free_heap_();
|
||||
void get_device_info_(std::string &device_info);
|
||||
void update_platform_();
|
||||
};
|
||||
|
||||
} // namespace debug
|
||||
|
||||
Reference in New Issue
Block a user