1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-12 14:53:49 +01:00

Streamline setup() logging (g, h, i) (#8927)

This commit is contained in:
Keith Burzinski
2025-05-28 13:55:02 -05:00
committed by GitHub
parent 18653f8f69
commit 0ce03ae26b
29 changed files with 34 additions and 35 deletions

View File

@@ -10,7 +10,7 @@ static const char *const TAG = "switch.hbridge";
float HBridgeSwitch::get_setup_priority() const { return setup_priority::HARDWARE; }
void HBridgeSwitch::setup() {
ESP_LOGCONFIG(TAG, "Setting up H-Bridge Switch '%s'...", this->name_.c_str());
ESP_LOGCONFIG(TAG, "Running setup for '%s'", this->name_.c_str());
optional<bool> initial_state = this->get_initial_state_with_restore_mode();