File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 2
2
All notable changes to this project will be documented in this file.
3
3
4
4
## [ Unreleased]
5
-
6
- ## [ 1.1.0]
7
5
### Added
8
6
- MQTT Topic ` panel-time ` to get/set the alarm panel time
9
7
- MQTT Topic ` partition-N-access-code ` the access code is published whenever the alarm was armed/disarmed
Original file line number Diff line number Diff line change 20
20
#include < dscKeybusInterface.h>
21
21
#include < time.h>
22
22
23
- #define SOFTWARE_VERSION " 1.1.0 Build 10 "
23
+ #define SOFTWARE_VERSION " 1.1.0 Build 11 "
24
24
25
25
// Configures the Keybus interface with the specified pins
26
26
// dscWritePin is optional, leaving it out disables the virtual keypad.
@@ -186,7 +186,7 @@ void loopHandler() {
186
186
187
187
bool onKeypad (const HomieRange& range, const String& command) {
188
188
static char commandBuffer[256 ];
189
- if (command.length > sizeof (commandBuffer)/sizeof (commandBuffer[0 ])) {
189
+ if (command.length () > sizeof (commandBuffer)/sizeof (commandBuffer[0 ])) {
190
190
homieNode.setProperty (" message" ).setRetained (false ).send (" Keypad data is too long" );
191
191
} else {
192
192
strcpy (commandBuffer, command.c_str ());
You can’t perform that action at this time.
0 commit comments