[docs] Fix ESPHome sample config indent

This commit is contained in:
Kuba Szczodrzyński
2023-02-02 21:59:14 +01:00
parent bdedae981a
commit f0d490aef9

View File

@@ -74,25 +74,25 @@ If your board isn't listed, use one of the **Generic** boards, depending on the
- write a config file manually: - write a config file manually:
```yaml title="yourdevice.yml" ```yaml title="yourdevice.yml"
esphome: esphome:
name: yourdevice name: yourdevice
libretuya: libretuya:
board: wr3 # THIS IS YOUR BOARD CODE board: wr3 # THIS IS YOUR BOARD CODE
framework: framework:
version: latest version: latest
logger: logger:
api: api:
password: "" password: ""
ota: ota:
password: "" password: ""
wifi: wifi:
ssid: "YourWiFiSSID" ssid: "YourWiFiSSID"
password: "SecretPa$$w0rd" password: "SecretPa$$w0rd"
ap: ap:
ssid: "Yourdevice Fallback Hotspot" ssid: "Yourdevice Fallback Hotspot"
password: "Dv2hZMGZRUvy" password: "Dv2hZMGZRUvy"
``` ```
=== "GUI" === "GUI"
@@ -141,8 +141,8 @@ libretuya:
version: latest version: latest
lt_config: lt_config:
LT_LOG_HEAP: 1 LT_LOG_HEAP: 1
LT_UART_DEFAULT_PORT: 2 LT_UART_DEFAULT_PORT: 2
LT_UART_SILENT_ALL: 0 LT_UART_SILENT_ALL: 0
``` ```
(this is only an example) (this is only an example)