mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
HLW8012 - Dump energy sensor config (#2082)
This commit is contained in:
parent
246950159d
commit
316777f757
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ void HLW8012Component::dump_config() {
|
|||
LOG_SENSOR(" ", "Voltage", this->voltage_sensor_)
|
||||
LOG_SENSOR(" ", "Current", this->current_sensor_)
|
||||
LOG_SENSOR(" ", "Power", this->power_sensor_)
|
||||
LOG_SENSOR(" ", "Energy", this->energy_sensor_)
|
||||
}
|
||||
float HLW8012Component::get_setup_priority() const { return setup_priority::DATA; }
|
||||
void HLW8012Component::update() {
|
||||
|
|
Loading…
Reference in a new issue