diff --git a/esphome/components/pulse_counter_ulp/automation.h b/esphome/components/pulse_counter_ulp/automation.h index d749540a95..b5fe9cc6cc 100644 --- a/esphome/components/pulse_counter_ulp/automation.h +++ b/esphome/components/pulse_counter_ulp/automation.h @@ -2,7 +2,7 @@ #include "esphome/core/component.h" #include "esphome/core/automation.h" -#include "esphome/components/pulse_counter/pulse_counter_sensor.h" +#include "esphome/components/pulse_counter_ulp/pulse_counter_ulp_sensor.h" namespace esphome { diff --git a/esphome/components/pulse_counter_ulp/pulse_counter_sensor.cpp b/esphome/components/pulse_counter_ulp/pulse_counter_ulp_sensor.cpp similarity index 99% rename from esphome/components/pulse_counter_ulp/pulse_counter_sensor.cpp rename to esphome/components/pulse_counter_ulp/pulse_counter_ulp_sensor.cpp index 774de472c9..770c806953 100644 --- a/esphome/components/pulse_counter_ulp/pulse_counter_sensor.cpp +++ b/esphome/components/pulse_counter_ulp/pulse_counter_ulp_sensor.cpp @@ -1,4 +1,4 @@ -#include "pulse_counter_sensor.h" +#include "pulse_counter_ulp_sensor.h" #include "esphome/core/log.h" #ifdef CONF_USE_ULP #include "esp32/ulp.h" @@ -11,7 +11,7 @@ namespace esphome { namespace pulse_counter { -static const char *const TAG = "pulse_counter"; +static const char *const TAG = "pulse_counter_ulp"; const char *const EDGE_MODE_TO_STRING[] = {"DISABLE", "INCREMENT", "DECREMENT"}; diff --git a/esphome/components/pulse_counter_ulp/pulse_counter_sensor.h b/esphome/components/pulse_counter_ulp/pulse_counter_ulp_sensor.h similarity index 100% rename from esphome/components/pulse_counter_ulp/pulse_counter_sensor.h rename to esphome/components/pulse_counter_ulp/pulse_counter_ulp_sensor.h