mirror of
https://github.com/esphome/esphome.git
synced 2024-12-27 16:01:43 +01:00
Update ebyte_lora.cpp
This commit is contained in:
parent
866b448db9
commit
4c9833632b
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ void EbyteLoraComponent::loop() {
|
|||
}
|
||||
}
|
||||
}
|
||||
this->rssi_sensor_->publish_state((data[data.size() - 1] / 255.0) * 100);
|
||||
ESP_LOGD(TAG, "RSSI: %u % ", (data[data.size() - 1] / 255.0) * 100);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue