diff --git a/c b/c deleted file mode 100644 index b1aec06d5..000000000 --- a/c +++ /dev/null @@ -1 +0,0 @@ -platformio run -e tasmota --target upload --upload-port /dev/ttyS4 diff --git a/tasmota/ezo.ino b/tasmota/ezo.ino index a68a1981f..926fc334b 100644 --- a/tasmota/ezo.ino +++ b/tasmota/ezo.ino @@ -71,7 +71,7 @@ struct EZOStruct { // Figure out if we're trying to address a specific device // PS: This should ideally be done through the Tasmota mailbox if (at[0] == '-') { - uint32_t idx = atoi(&at[1]); + uint32_t idx = atoi(&at[1]) - 1; at = strchr(at, ' '); if (!at++) {