1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-18 01:33:51 +01:00
This commit is contained in:
Otto Winter
2019-05-08 14:56:54 +02:00
parent 95428b4cfe
commit 3fe9c20188
8 changed files with 11 additions and 31 deletions

View File

@@ -11,9 +11,7 @@ namespace ble_rssi {
class BLERSSISensor : public sensor::Sensor, public esp32_ble_tracker::ESPBTDeviceListener, public Component {
public:
void set_address(uint64_t address) {
address_ = address;
}
void set_address(uint64_t address) { address_ = address; }
void on_scan_end() override {
if (!this->found_)
this->publish_state(NAN);