mirror of
https://github.com/esphome/esphome.git
synced 2025-01-14 00:23:18 +01:00
Update ebyte_lora.cpp
This commit is contained in:
parent
ae8cb94bd2
commit
927d2d4702
1 changed files with 3 additions and 0 deletions
|
@ -221,6 +221,9 @@ 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);
|
||||
}
|
||||
if (data[0] == PROGRAM_CONF) {
|
||||
ESP_LOGD(TAG, "GOT PROGRAM_CONF");
|
||||
}
|
||||
}
|
||||
void EbyteLoraComponent::send_switch_info_() {
|
||||
if (!EbyteLoraComponent::can_send_message_()) {
|
||||
|
|
Loading…
Reference in a new issue