1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 00:31:58 +00:00

[cc1101] Add freq_offset to on_packet trigger (#13008)

This commit is contained in:
Jonathan Swoboda
2026-01-05 20:08:07 -05:00
committed by GitHub
parent 7ed4922d28
commit b2c22a02b1
4 changed files with 8 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ cc1101:
on_packet:
then:
- lambda: |-
ESP_LOGD("cc1101", "packet %s rssi %.1f dBm lqi %u", format_hex(x).c_str(), rssi, lqi);
ESP_LOGD("cc1101", "packet %s freq_offset %.0f Hz rssi %.1f dBm lqi %u", format_hex(x).c_str(), freq_offset, rssi, lqi);
button:
- platform: template