Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion esphome/components/emporia_vue/emporia_vue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ void CTClampConfig::update_from_reading(const SensorReading &sensor_reading) {
uint16_t raw_current = sensor_reading.current[this->input_port_];
double raw_current_d = (double) raw_current;
double scalar;
if (this->input_port_ <= CTInputPort::C) {
if (this->input_port_ <= CTInputPort::A) {
scalar = 775.0 / 42624.0;
} else {
scalar = 775.0 / 170496.0;
Expand Down