From ab40156c164d15637a131d879e808f011f118e7e Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sat, 19 Jan 2019 16:48:54 +0100 Subject: [PATCH] Fix ESP32 BLE tracker scan interval in seconds (#367) Fixes #361 --- esphomeyaml/components/esp32_ble_tracker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphomeyaml/components/esp32_ble_tracker.py b/esphomeyaml/components/esp32_ble_tracker.py index 00f8834e41..19030a258c 100644 --- a/esphomeyaml/components/esp32_ble_tracker.py +++ b/esphomeyaml/components/esp32_ble_tracker.py @@ -20,7 +20,7 @@ XIAOMI_SENSOR_SCHEMA = sensor.SENSOR_SCHEMA.extend({ CONFIG_SCHEMA = vol.Schema({ cv.GenerateID(): cv.declare_variable_id(ESP32BLETracker), - vol.Optional(CONF_SCAN_INTERVAL): cv.positive_time_period_milliseconds, + vol.Optional(CONF_SCAN_INTERVAL): cv.positive_time_period_seconds, }).extend(cv.COMPONENT_SCHEMA.schema)