Fix ble_client YAML syntax (#1196)
This patch fixes YAML indentation. Adding 2 spaces before the C++ code avoids to get the following error: ERROR Error while reading config: Invalid YAML syntax: while scanning a simple key in "/config/esphome/HOSTNAME.yaml", line 31, column 11: ESP_LOGD("ble_client_lambda", "C ... ^ could not find expected ':' in "/config/esphome/HOSTNAME.yaml", line 32, column 5: on_disconnect: ^
This commit is contained in:
parent
911c930ba8
commit
c1c675d51a
|
@ -72,7 +72,7 @@ This automation is triggered when the client connects to the BLE device.
|
|||
on_connect:
|
||||
then:
|
||||
- lambda: |-
|
||||
ESP_LOGD("ble_client_lambda", "Connected to BLE device");
|
||||
ESP_LOGD("ble_client_lambda", "Connected to BLE device");
|
||||
|
||||
.. _ble_client-on_disconnect:
|
||||
|
||||
|
@ -89,7 +89,7 @@ This automation is triggered when the client disconnects from a BLE device.
|
|||
on_disconnect:
|
||||
then:
|
||||
- lambda: |-
|
||||
ESP_LOGD("ble_client_lambda", "Disconnected from BLE device");
|
||||
ESP_LOGD("ble_client_lambda", "Disconnected from BLE device");
|
||||
|
||||
BLE Overview
|
||||
------------
|
||||
|
|
Loading…
Reference in New Issue