check command send for valid data

This commit is contained in:
MichaelDvP
2022-09-13 07:54:36 +02:00
parent df8a36c695
commit e70b6b210e
6 changed files with 12 additions and 15 deletions

View File

@@ -108,8 +108,7 @@ bool System::command_pin(const char * value, const int8_t id) {
// send raw to ems
bool System::command_send(const char * value, const int8_t id) {
EMSESP::send_raw_telegram(value); // ignore id
return true;
return EMSESP::txservice_.send_raw(value); // ignore id
}
// fetch device values