mirror of
https://github.com/esphome/esphome.git
synced 2025-11-17 15:26:01 +00:00
Adding ADE7953 irq_pin (#1359)
This commit is contained in:
committed by
GitHub
parent
5a2b14cfa4
commit
7e40d4246c
@@ -8,6 +8,9 @@ static const char *TAG = "ade7953";
|
||||
|
||||
void ADE7953::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "ADE7953:");
|
||||
if (this->has_irq_) {
|
||||
ESP_LOGCONFIG(TAG, " IRQ Pin: GPIO%u", this->irq_pin_number_);
|
||||
}
|
||||
LOG_I2C_DEVICE(this);
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
LOG_SENSOR(" ", "Voltage Sensor", this->voltage_sensor_);
|
||||
|
||||
Reference in New Issue
Block a user