Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 16fcfd4

Browse filesBrowse files
authored
Merge pull request #37 from athombv/development
setCapabilityValue boolean fix & constant warning
2 parents 5134d08 + 937efc2 commit 16fcfd4
Copy full SHA for 16fcfd4

File tree

Expand file treeCollapse file tree

3 files changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+5
-5
lines changed

‎library.properties

Copy file name to clipboardExpand all lines: library.properties
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Homeyduino
2-
version=1.0.1
2+
version=1.0.2
33
author=Athom B.V.
44
maintainer=Athom B.V. <renze@athom.nl>
55
sentence=Homeyduino allows you to connect your Arduino projects with Homey.

‎src/Homey.cpp

Copy file name to clipboardExpand all lines: src/Homey.cpp
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,14 @@ bool HomeyClass::trigger(const String& name, bool value)
135135
return _emit(name.c_str(), CTYPE_BOOL, str, TYPE_TRIGGER);
136136
}
137137

138-
bool HomeyClass::setCapabilityValue(const String& name, bool emit)
138+
/*bool HomeyClass::setCapabilityValue(const String& name, bool emit)
139139
{
140140
if (!emit) {
141141
_setValue(name.c_str(), CTYPE_NULL, "null", TYPE_CAPABILITY);
142142
return true;
143143
}
144144
return _emit(name.c_str(), CTYPE_NULL, "null", TYPE_CAPABILITY);
145-
}
145+
}*/
146146
bool HomeyClass::setCapabilityValue(const String& name, const char* value, bool emit)
147147
{
148148
if (!emit) {
@@ -682,7 +682,7 @@ void HomeyClass::streamWriteIndex(Stream* s) {
682682
s->print('"');
683683

684684
//Version
685-
s->print(",\"version\":\""HOMEYDUINO_VERSION"\"");
685+
s->print(",\"version\":\"" HOMEYDUINO_VERSION "\"");
686686

687687
//Type field
688688
s->print(",\"type\":\"");

‎src/Homey.h

Copy file name to clipboardExpand all lines: src/Homey.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/* -------------- DO NOT EDIT ANYTHING BELOW THIS LINE! -------------- */
1818
/* (If you do you might break compatibility with the Homeyduino app...) */
1919

20-
#define HOMEYDUINO_VERSION "1.0.1"
20+
#define HOMEYDUINO_VERSION "1.0.2"
2121

2222
#define ENDPOINT_MAX_SIZE 17 //16 + null
2323
#define ARGUMENT_MAX_SIZE 65 //64 + null

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.