Skip to content

Commit c0e490a

Browse files
committed
Make log level explicit
1 parent 20dfa12 commit c0e490a

11 files changed

+38
-16
lines changed

esp32-ble-b2a8s20p-v11-example.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ wifi:
2929
password: !secret wifi_password
3030

3131
ota:
32+
3233
logger:
34+
level: DEBUG
3335

3436
# If you don't use Home Assistant please remove this `api` section and uncomment the `mqtt` component!
3537
api:

esp32-ble-example-multiple-devices.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ wifi:
3131
password: !secret wifi_password
3232

3333
ota:
34+
3435
logger:
36+
level: DEBUG
3537

3638
# If you don't use Home Assistant please remove this `api` section and uncomment the `mqtt` component!
3739
api:

esp32-ble-example.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ wifi:
2929
password: !secret wifi_password
3030

3131
ota:
32+
3233
logger:
34+
level: DEBUG
3335

3436
# If you don't use Home Assistant please remove this `api` section and uncomment the `mqtt` component!
3537
api:

esp32-ble-jk04-example.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ wifi:
2929
password: !secret wifi_password
3030

3131
ota:
32+
3233
logger:
34+
level: DEBUG
3335

3436
# If you don't use Home Assistant please remove this `api` section and uncomment the `mqtt` component!
3537
api:

esp32-ble-uart-hybrid-example.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,20 @@ wifi:
3535
password: !secret wifi_password
3636

3737
ota:
38+
3839
logger:
40+
level: DEBUG
3941

40-
# Please use the native `api` component instead of the `mqtt` section
41-
# if you use Home Assistant. The native API is more lightweight.
42-
#
43-
# api:
42+
# If you use Home Assistant please remove this `mqtt` section and uncomment the `api` component!
43+
# The native API has many advantages over MQTT: https://esphome.io/components/api.html#advantages-over-mqtt
4444
mqtt:
4545
broker: !secret mqtt_host
4646
username: !secret mqtt_username
4747
password: !secret mqtt_password
4848
id: mqtt_client
4949

50+
# api:
51+
5052
esp32_ble_tracker:
5153
on_ble_advertise:
5254
then:

esp32-example-multiple-devices.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,20 @@ wifi:
3030
password: !secret wifi_password
3131

3232
ota:
33-
logger:
3433

35-
# If you use Home Assistant please remove this `mqtt` section and uncomment the native `api` component!
36-
# api:
34+
logger:
35+
level: DEBUG
3736

37+
# If you use Home Assistant please remove this `mqtt` section and uncomment the `api` component!
38+
# The native API has many advantages over MQTT: https://esphome.io/components/api.html#advantages-over-mqtt
3839
mqtt:
3940
broker: !secret mqtt_host
4041
username: !secret mqtt_username
4142
password: !secret mqtt_password
4243
id: mqtt_client
4344

45+
# api:
46+
4447
uart:
4548
- id: uart0
4649
baud_rate: 115200

esp32-example.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,20 @@ wifi:
2626
password: !secret wifi_password
2727

2828
ota:
29-
logger:
3029

31-
# If you use Home Assistant please remove this `mqtt` section and uncomment the native `api` component!
32-
# api:
30+
logger:
31+
level: DEBUG
3332

33+
# If you use Home Assistant please remove this `mqtt` section and uncomment the `api` component!
34+
# The native API has many advantages over MQTT: https://esphome.io/components/api.html#advantages-over-mqtt
3435
mqtt:
3536
broker: !secret mqtt_host
3637
username: !secret mqtt_username
3738
password: !secret mqtt_password
3839
id: mqtt_client
3940

41+
# api:
42+
4043
uart:
4144
- id: uart0
4245
baud_rate: 115200

esp32-heltec-balancer-ble-example.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ wifi:
2525
password: !secret wifi_password
2626

2727
ota:
28+
2829
logger:
30+
level: DEBUG
2931

3032
# If you don't use Home Assistant please remove this `api` section and uncomment the `mqtt` component!
3133
api:

esp8266-example.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,21 @@ wifi:
2424
password: !secret wifi_password
2525

2626
ota:
27+
2728
logger:
2829
baud_rate: 0
30+
level: DEBUG
2931

30-
# If you use Home Assistant please remove this `mqtt` section and uncomment the native `api` component!
31-
# api:
32-
32+
# If you use Home Assistant please remove this `mqtt` section and uncomment the `api` component!
33+
# The native API has many advantages over MQTT: https://esphome.io/components/api.html#advantages-over-mqtt
3334
mqtt:
3435
broker: !secret mqtt_host
3536
username: !secret mqtt_username
3637
password: !secret mqtt_password
3738
id: mqtt_client
3839

40+
# api:
41+
3942
uart:
4043
- id: uart0
4144
baud_rate: 115200

tests/esp8266-fake-bms.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ wifi:
1414
password: !secret wifi_password
1515

1616
ota:
17+
1718
logger:
19+
level: DEBUG
1820

1921
api:
2022
reboot_timeout: 0s

yaml-snippets/esp32-ble-energy-dashboard.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,13 @@ wifi:
2727
password: !secret wifi_password
2828

2929
ota:
30+
3031
logger:
32+
level: DEBUG
3133

3234
# If you don't use Home Assistant please remove this `api` section and uncomment the `mqtt` component!
3335
api:
3436

35-
# The MQTT component is ESP-IDF compatible since ESPHome version 2022.4.0. If
36-
# ESPHome suggests to use the arduino framework instead because of missing ESP-IDF
37-
# framework support you should update your setup.
3837
# mqtt:
3938
# broker: !secret mqtt_host
4039
# username: !secret mqtt_username

0 commit comments

Comments
 (0)