Public Access
refactor: rename component from nut_ups to ups_hid
Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
24 files changed
+1077
-1000
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#include "binary_sensor.h"
|
||||
#include "esphome/core/log.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace ups_hid {
|
||||
|
||||
static const char *const TAG_BINARY = "ups_hid.binary_sensor";
|
||||
|
||||
void UpsHidBinarySensor::dump_config() {
|
||||
ESP_LOGCONFIG(TAG_BINARY, "UPS HID Binary Sensor:");
|
||||
ESP_LOGCONFIG(TAG_BINARY, " Type: %s", sensor_type_.c_str());
|
||||
LOG_BINARY_SENSOR(" ", "Binary Sensor", this);
|
||||
}
|
||||
|
||||
} // namespace ups_hid
|
||||
} // namespace esphome
|
||||
Reference in new issue
Block a user