From d7bc41e54afaf1e4a247431e0967e945ac6366ef Mon Sep 17 00:00:00 2001
From: Justin Hammond
Date: Wed, 22 Jan 2020 12:42:47 +0800
Subject: [PATCH 1/4] Remove these Debugging lines
---
qt-ozwdaemon/mqttcommands/setValue.cpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/qt-ozwdaemon/mqttcommands/setValue.cpp b/qt-ozwdaemon/mqttcommands/setValue.cpp
index 14fc3d1..faa72b0 100644
--- a/qt-ozwdaemon/mqttcommands/setValue.cpp
+++ b/qt-ozwdaemon/mqttcommands/setValue.cpp
@@ -118,7 +118,6 @@ bool MqttCommand_SetValue::processMessage(rapidjson::Document &msg) {
break;
}
case QTOZW_ValueIds::ValueIdTypes::List: {
- qDebug() << "Processing List";
if (!msg["Value"].IsUint()) {
this->sendSimpleStatus(false, QString("Incorrect Field Type for Value: Not Integer: ").append(msg["Value"].GetType()));
qCWarning(ozwmcsv) << "Incorrect Field Type (Integer) for " << GetCommand() << ": Value: " << msg["Value"].GetType();
@@ -132,9 +131,7 @@ bool MqttCommand_SetValue::processMessage(rapidjson::Document &msg) {
return false;
}
list.selectedItem = list.labels[index];
- qDebug() << list.selectedItem;
data.setValue(list);
- qDebug() << data;
break;
}
case QTOZW_ValueIds::ValueIdTypes::Raw: {
From 703e1d7c658992f91b3ba4bde9d86298dbf8b91d Mon Sep 17 00:00:00 2001
From: Justin Hammond
Date: Wed, 22 Jan 2020 14:41:08 +0800
Subject: [PATCH 2/4] PR Test
---
.github/workflows/prbuildtest.yml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 .github/workflows/prbuildtest.yml
diff --git a/.github/workflows/prbuildtest.yml b/.github/workflows/prbuildtest.yml
new file mode 100644
index 0000000..0d3ce54
--- /dev/null
+++ b/.github/workflows/prbuildtest.yml
@@ -0,0 +1,16 @@
+name: Docker Image Build
+
+on:
+ pull_request:
+ types: [opened, edited, reopened, synchronize]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@v1
+ with:
+ fetch-depth: 1 # shallow clone
+ - name: Build Docker Image
+ run: docker build . --file Docker/Dockerfile
\ No newline at end of file
From c9c0d1317799cc0bad1d237dc3c5d31b2b74dd45 Mon Sep 17 00:00:00 2001
From: Justin Hammond
Date: Wed, 22 Jan 2020 14:41:52 +0800
Subject: [PATCH 3/4] Update README.md
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index db1b676..1191cc6 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,7 @@ This is a [QT](https://www.qt.io) Wrapper for OpenZWave and contains ozwdaemon -
+test
A [Docker Container](https://hub.docker.com/r/openzwave/ozwdaemon) to connect to the [new Z-Wave Integration for Home Assistant - python-openzwave-mqtt](https://github.com/cgarwood/python-openzwave-mqtt)
From 825c8ee4b240b7dfa4c0d7d90c24118d7a00ae53 Mon Sep 17 00:00:00 2001
From: Justin Hammond
Date: Wed, 22 Jan 2020 14:53:55 +0800
Subject: [PATCH 4/4] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 1191cc6..0d4ff5a 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ This is a [QT](https://www.qt.io) Wrapper for OpenZWave and contains ozwdaemon -
test
-
+ asdf
A [Docker Container](https://hub.docker.com/r/openzwave/ozwdaemon) to connect to the [new Z-Wave Integration for Home Assistant - python-openzwave-mqtt](https://github.com/cgarwood/python-openzwave-mqtt)