Skip to content

Commit

Permalink
try #2
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo-deluca committed Jun 20, 2022
1 parent af5d5f7 commit 165bc0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ service: esphome.espkyogate_arm_area
data:
arm_type: 1 (total arm) - 2 (partially arm)
area: <area_number>
specific_area: 1 (arm only <area_number> and disarm others) - 0 (arm only <area_number> without changing the others)
specific_area: 1 (arm only <area_number> without changing the others) - 0 (arm only <area_number> and disarm others)
```

### Area Disarm
Expand Down Expand Up @@ -283,9 +283,9 @@ data:
log_trace: 1
polling_kyo: 1
```
* serial_trace * Enable or Disable Serial Log communication to central unit
* log_trace * Enable or Disable Application Log
* polling_kyo * Enable or Disable continuative polling to central unit (default always Enable)
* **serial_trace** Enable or Disable Serial Log communication to central unit
* **log_trace** Enable or Disable Application Log
* **polling_kyo** Enable or Disable continuative polling to central unit (default always Enable)

## License
GNU AGPLv3 © [Lorenzo De Luca][https://lorenzodeluca.dev]
4 changes: 2 additions & 2 deletions bentel-kyo/bentel_kyo32.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ class Bentel_Kyo32 : public esphome::PollingComponent, public uart::UARTDevice,
partial_insert_area_status |= (this->inserimento_parziale_area[i].state) << i;
}

total_insert_area_status |= 0 << (area - 1);
partial_insert_area_status |= 0 << (area - 1);
total_insert_area_status &= 0 << (area - 1);
partial_insert_area_status &= 0 << (area - 1);
}

cmdDisarmPartition[6] = total_insert_area_status;
Expand Down

0 comments on commit 165bc0c

Please sign in to comment.