Fix power on command
This commit is contained in:
parent
3c288d1599
commit
0b89892f9e
|
@ -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());
|
ESP_LOGV(TAG, "pushing priority cmd (%s) from external component", cmd.c_str());
|
||||||
cmd_queue.push_front(cmd + "?");
|
cmd_queue.push_front(cmd + "?");
|
||||||
cmd_queue.push_front(cmd + " " + param);
|
cmd_queue.push_front(cmd + " " + param);
|
||||||
|
} else if (cmd == "PWR" && param == "ON") {
|
||||||
|
cmd_queue.push_front(cmd + " " + param);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue