From 0b89892f9e8623947575ab2be33975fde7763155 Mon Sep 17 00:00:00 2001 From: sqozz Date: Mon, 16 Sep 2024 21:47:03 +0200 Subject: [PATCH] Fix power on command --- tw7100.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tw7100.cpp b/tw7100.cpp index b1f84bf..8ccb3cc 100644 --- a/tw7100.cpp +++ b/tw7100.cpp @@ -170,6 +170,8 @@ void tw7100Component::push_cmd(std::string cmd, std::string param) { ESP_LOGV(TAG, "pushing priority cmd (%s) from external component", cmd.c_str()); cmd_queue.push_front(cmd + "?"); cmd_queue.push_front(cmd + " " + param); + } else if (cmd == "PWR" && param == "ON") { + cmd_queue.push_front(cmd + " " + param); } }