mirror of
https://github.com/ratgdo/esphome-ratgdo.git
synced 2025-02-07 22:03:20 +00:00
button
This commit is contained in:
parent
8883b32a99
commit
e3eca8b028
@ -9,7 +9,7 @@ namespace ratgdo {
|
||||
|
||||
void RATGDOBinarySensor::setup()
|
||||
{
|
||||
if (this->binary_sensor_type_ == SensorType::RATGDO_SENSOR_MOTION || this->binary_sensor_type_ == SensorType::RATGDO_SENSOR_OBSTRUCTION) {
|
||||
if (this->binary_sensor_type_ == SensorType::RATGDO_SENSOR_MOTION || this->binary_sensor_type_ == SensorType::RATGDO_SENSOR_OBSTRUCTION)
|
||||
this->publish_state(false);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user