mirror of
https://github.com/esphome/esphome.git
synced 2024-11-29 18:24:13 +01:00
Add Tuya message for no datapoints (#804)
See also https://github.com/esphome/feature-requests/issues/352#issuecomment-546579206
This commit is contained in:
parent
c1f5e04d6c
commit
7bf6fd316f
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ void Tuya::dump_config() {
|
|||
else
|
||||
ESP_LOGCONFIG(TAG, " Datapoint %d: unknown", info.id);
|
||||
}
|
||||
if (this->datapoints_.empty()) {
|
||||
ESP_LOGCONFIG(TAG, " Received no datapoints! Please make sure this is a supported Tuya device.");
|
||||
}
|
||||
this->check_uart_settings(9600);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue