Fix power on command

This commit is contained in:
sqozz 2024-09-16 21:47:03 +02:00
parent 3c288d1599
commit 0b89892f9e

View file

@ -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);
}
}