1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 19:32:19 +01:00

Update log for mics4514 to state 3 minute start time. (#4396)

This commit is contained in:
Jesse Hills
2023-02-09 07:30:19 +13:00
committed by GitHub
parent b5c47b9669
commit c6742117d3

View File

@@ -16,7 +16,7 @@ void MICS4514Component::setup() {
uint8_t power_mode; uint8_t power_mode;
this->read_register(POWER_MODE_REGISTER, &power_mode, 1); this->read_register(POWER_MODE_REGISTER, &power_mode, 1);
if (power_mode == 0x00) { if (power_mode == 0x00) {
ESP_LOGCONFIG(TAG, "Waking up MICS 4514"); ESP_LOGCONFIG(TAG, "Waking up MICS 4514, sensors will have data after 3 minutes...");
power_mode = 0x01; power_mode = 0x01;
this->write_register(POWER_MODE_REGISTER, &power_mode, 1); this->write_register(POWER_MODE_REGISTER, &power_mode, 1);
delay(100); // NOLINT delay(100); // NOLINT