binary sensor
This commit is contained in:
parent
de5a67d5d9
commit
b45518db67
|
@ -9,19 +9,20 @@ namespace ratgdo {
|
||||||
|
|
||||||
static const char *const TAG = "ratgdo.binary_sensor";
|
static const char *const TAG = "ratgdo.binary_sensor";
|
||||||
|
|
||||||
void RATGDOBinarySensor::dump_config() {
|
class RATGDOBinarySensor {
|
||||||
|
void dump_config() {
|
||||||
LOG_BINARY_SENSOR("", "RATGDO BinarySensor", this);
|
LOG_BINARY_SENSOR("", "RATGDO BinarySensor", this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RATGDOBinarySensor::setup() {
|
void setup() {
|
||||||
this->publish_internal_state(false);
|
this->publish_internal_state(false);
|
||||||
}
|
}
|
||||||
void RATGDOBinarySensor::on_door_state(esphome::ratgdo::DoorState state) {}
|
void on_door_state(esphome::ratgdo::DoorState state) {}
|
||||||
void RATGDOBinarySensor::on_light_state(esphome::ratgdo::LightState state) {}
|
void on_light_state(esphome::ratgdo::LightState state) {}
|
||||||
void RATGDOBinarySensor::on_lock_state(esphome::ratgdo::LockState state) {}
|
void on_lock_state(esphome::ratgdo::LockState state) {}
|
||||||
void RATGDOBinarySensor::on_motion_state(esphome::ratgdo::MotionState state) {}
|
void on_motion_state(esphome::ratgdo::MotionState state) {}
|
||||||
void RATGDOBinarySensor::on_obstruction_state(esphome::ratgdo::ObstructionState state) {}
|
void on_obstruction_state(esphome::ratgdo::ObstructionState state) {}
|
||||||
|
}
|
||||||
} // namespace ratgdo
|
} // namespace ratgdo
|
||||||
} // namespace esphome
|
} // namespace esphome
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue