diff --git a/esphome/components/emporia_vue/emporia_vue.cpp b/esphome/components/emporia_vue/emporia_vue.cpp index d846f18b..0418c02c 100644 --- a/esphome/components/emporia_vue/emporia_vue.cpp +++ b/esphome/components/emporia_vue/emporia_vue.cpp @@ -93,7 +93,7 @@ void PhaseConfig::update_from_reading(const SensorReading &sensor_reading) { // validation that these sensors are allowed on this phase is done in the codegen stage if (this->frequency_sensor_) { // see https://github.com/emporia-vue-local/esphome/pull/88 for constant explanation - float frequency = 25310.0f / (float) raw_frequency; + float frequency = 19610.0f / (float) raw_frequency; this->frequency_sensor_->publish_state(frequency); } if (this->phase_angle_sensor_) { diff --git a/esphome/components/emporia_vue/emporia_vue.h b/esphome/components/emporia_vue/emporia_vue.h index 477d2d32..960167f4 100644 --- a/esphome/components/emporia_vue/emporia_vue.h +++ b/esphome/components/emporia_vue/emporia_vue.h @@ -90,9 +90,9 @@ class PhaseConfig { }; enum CTInputPort : uint8_t { - A = 0, + A = 2, B = 1, - C = 2, + C = 0, ONE = 3, TWO = 4, THREE = 5,