binary sensor
This commit is contained in:
parent
78ee2dd444
commit
4e378179d4
|
@ -7,7 +7,7 @@ namespace ratgdo {
|
||||||
|
|
||||||
static const char *const TAG = "ratgdo.binary_sensor";
|
static const char *const TAG = "ratgdo.binary_sensor";
|
||||||
|
|
||||||
class RATGDOBinarySensor {
|
class RATGDOBinarySensor : public binary_sensor::BinarySensor, public RATGDOClient, public Component {
|
||||||
void dump_config() {
|
void dump_config() {
|
||||||
LOG_BINARY_SENSOR("", "RATGDO BinarySensor", this);
|
LOG_BINARY_SENSOR("", "RATGDO BinarySensor", this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue