mirror of
https://github.com/esphome/esphome.git
synced 2025-01-07 13:21:44 +01:00
Fix whitespace
This commit is contained in:
parent
6646254570
commit
75599c7d5b
1 changed files with 3 additions and 3 deletions
|
@ -128,10 +128,10 @@ void TemplateAlarmControlPanel::loop() {
|
|||
// Look for the transition from closed to open
|
||||
if ((!this->sensor_data_[sensor_info.second.store_index].last_chime_state) && (sensor_info.first->state)) {
|
||||
// Must be disarmed to chime
|
||||
if (this->current_state_ == ACP_STATE_DISARMED) {
|
||||
this->chime_callback_.call();
|
||||
if (this->current_state_ == ACP_STATE_DISARMED) {
|
||||
this->chime_callback_.call();
|
||||
}
|
||||
}
|
||||
}
|
||||
// Record the sensor state change
|
||||
this->sensor_data_[sensor_info.second.store_index].last_chime_state = sensor_info.first->state;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue