esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
292 stars 36 forks source link

esp32_ble_tracker variable crash #6341

Open oerix opened 1 month ago

oerix commented 1 month ago

The problem

In the midsts of adding bluetooth proxy support for a esphome device using the yaml file, I discovered that adding the following variable under esp32_ble_tracker: crashes Zigbee2mqtt and the MqttBroker.

esp32_ble_tracker:
  id: ${name}_ble_tracker

Which version of ESPHome has the issue?

2024.10.0

What type of installation are you using?

Docker

Which version of Home Assistant has the issue?

2024.10.2

What platform are you using?

ESP32

Board

No response

Component causing the issue

No response

Example YAML snippet

esp32_ble_tracker:
  id: ${name}_ble_tracker
  scan_parameters:
    interval: 1500ms
    window: 750ms
    active: true

bluetooth_proxy:
  active: true

Anything in the logs that might be useful for us?

Unfortunately, I don't have any logs at this moment in time. However, this issue could maybe be reproduced using the code line above.

Additional information

No response

randybb commented 1 month ago

How are the two services running somewhere related to your esp device? This absolutely doesn't make sense. In any case id: is just an interval "name" and it is not advertised via api or mqtt.