mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 04:33:27 +02:00
Add additional custom lint checks (#790)
This commit is contained in:
@@ -13,8 +13,8 @@ void RestartSwitch::write_state(bool state) {
|
||||
|
||||
if (state) {
|
||||
ESP_LOGI(TAG, "Restarting device...");
|
||||
// then execute
|
||||
delay(100); // Let MQTT settle a bit
|
||||
// Let MQTT settle a bit
|
||||
delay(100); // NOLINT
|
||||
App.safe_reboot();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user