mirror of
https://github.com/nekorevend/esphome-emporia-vue-utility.git
synced 2026-01-10 05:10:40 -07:00
Clarifying comments.
This commit is contained in:
@@ -440,6 +440,8 @@ class EmporiaVueUtility : public Component, public UARTDevice {
|
||||
consumed = mr->import_wh;
|
||||
if (consumed == 4194304) {
|
||||
// "missing data" message (0x00 40 00 00)
|
||||
// I have not seen this message but am making the
|
||||
// assumption that it is still relevant to V7+.
|
||||
ESP_LOGI(TAG, "Import watt-hour value missing");
|
||||
last_reading_has_error = 1;
|
||||
return(0);
|
||||
@@ -448,6 +450,8 @@ class EmporiaVueUtility : public Component, public UARTDevice {
|
||||
returned = mr->export_wh;
|
||||
if (returned == 4194304) {
|
||||
// "missing data" message (0x00 40 00 00)
|
||||
// I have not seen this message but am making the
|
||||
// assumption that it is still relevant to V7+.
|
||||
ESP_LOGI(TAG, "Export watt-hour value missing");
|
||||
last_reading_has_error = 1;
|
||||
return(0);
|
||||
|
||||
Reference in New Issue
Block a user