Skip to content

Commit

Permalink
Merge remote-tracking branch 'digiblur/dev' into vue3
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviut committed May 26, 2024
2 parents cf59904 + 1f723ab commit 8f7af8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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 @@ -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_) {
Expand Down
4 changes: 2 additions & 2 deletions esphome/components/emporia_vue/emporia_vue.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8f7af8d

Please sign in to comment.