HLW8012 - Dump energy sensor config (#2082)

This commit is contained in:
Jesse Hills 2021-07-29 07:53:54 +12:00 committed by GitHub
parent 246950159d
commit 316777f757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,6 +45,7 @@ void HLW8012Component::dump_config() {
LOG_SENSOR(" ", "Voltage", this->voltage_sensor_) LOG_SENSOR(" ", "Voltage", this->voltage_sensor_)
LOG_SENSOR(" ", "Current", this->current_sensor_) LOG_SENSOR(" ", "Current", this->current_sensor_)
LOG_SENSOR(" ", "Power", this->power_sensor_) LOG_SENSOR(" ", "Power", this->power_sensor_)
LOG_SENSOR(" ", "Energy", this->energy_sensor_)
} }
float HLW8012Component::get_setup_priority() const { return setup_priority::DATA; } float HLW8012Component::get_setup_priority() const { return setup_priority::DATA; }
void HLW8012Component::update() { void HLW8012Component::update() {