refactor: rename component from nut_ups to ups_hid

Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
bullshit committed 2025-08-08 15:25:03 +02:00
1 parent 03766881e1
commit a5b43af89c
24 files changed
+1077 -1000

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#include "text_sensor.h"
#include "esphome/core/log.h"
namespace esphome
{
namespace ups_hid
{
static const char *const TXT_TAG = "ups_hid.text_sensor";
void UpsHidTextSensor::dump_config()
{
ESP_LOGCONFIG(TXT_TAG, "UPS HID Text Sensor:");
ESP_LOGCONFIG(TXT_TAG, " Type: %s", sensor_type_.c_str());
LOG_TEXT_SENSOR(" ", "Text Sensor", this);
}
} // namespace ups_hid
} // namespace esphome