rename folder

This commit is contained in:
2023-12-17 20:31:18 +01:00
parent 9ee2ee5864
commit 90b58c7e4d
76 changed files with 0 additions and 0 deletions
@@ -0,0 +1,31 @@
#include "esphome/core/log.h"
#include "empty_compound_sensor.h"
namespace esphome {
namespace empty_compound_sensor {
static const char *TAG = "empty_compound_sensor.sensor";
void EmptyCompoundSensor::setup() {
}
void EmptyCompoundSensor::loop() {
}
void EmptyCompoundSensor::update() {
if (this->sensor1_ != nullptr)
this->sensor1_->publish_state(1.0f);
if (this->sensor2_ != nullptr)
this->sensor2_->publish_state(2.0f);
if (this->sensor3_ != nullptr)
this->sensor3_->publish_state(3.0f);
}
void EmptyCompoundSensor::dump_config() {
ESP_LOGCONFIG(TAG, "Empty compound sensor");
}
} //namespace empty_compound_sensor
} //namespace esphome