Update for ruuvi and xiaomi ble to require yaml (#1562)

This commit is contained in:
Sean Brogan 2021-10-27 13:16:51 -07:00 committed by GitHub
parent 89795d5e80
commit ce8e268483
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -153,12 +153,14 @@ Setting Up Devices
To set up RuuviTag devices you first need to find their MAC Address so that To set up RuuviTag devices you first need to find their MAC Address so that
ESPHome can identify them. So first, create a simple configuration without any ESPHome can identify them. So first, create a simple configuration without any
``ruuvitag`` entries like so: ``ruuvitag`` entries but with ``ruuvi_ble`` enabled like so:
.. code-block:: yaml .. code-block:: yaml
esp32_ble_tracker: esp32_ble_tracker:
ruuvi_ble:
After uploading the ESP32 will immediately try to scan for BLE devices. After uploading the ESP32 will immediately try to scan for BLE devices.
When it detects these sensors, it will automatically parse the BLE message When it detects these sensors, it will automatically parse the BLE message
print a message like this one: print a message like this one:

View File

@ -458,6 +458,8 @@ To find the MAC Address so that ESPHome can identify the device, you can create
esp32_ble_tracker: esp32_ble_tracker:
xiaomi_ble:
After uploading, the ESP32 will immediately try to scan for BLE devices. When it detects a new sensor, it will automatically parse the BLE message print a message like this one: After uploading, the ESP32 will immediately try to scan for BLE devices. When it detects a new sensor, it will automatically parse the BLE message print a message like this one:
.. code:: .. code::