# BLE Proxy Esp 32 -- qui a vue qui?

**URL:** <https://forum.hacf.fr/t/ble-proxy-esp-32-qui-a-vue-qui/27835>\
**Category:** Entraide Home Assistant\
**Tags:** ble-proxy\
**Created:** [Septembre 9, 2023, 2:04 UTC](https://forum.hacf.fr/t/ble-proxy-esp-32-qui-a-vue-qui/27835 "2023-09-09T14:04:50Z")\
**Posts on this page:** 1\
**Showing post:** 42

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Janvier 28, 2024, 5:38 UTC](https://forum.hacf.fr/t/ble-proxy-esp-32-qui-a-vue-qui/27835/42 "2024-01-28T17:38:30Z")

</div>

Je vois un espace en trop a l'entité `('binary_sensor.esp32_buro_4e1b04_ibeacon_s9 ')` entre le 9 et ' ,et un retour a la ligne. l'autre automatisation c'est bon, compare tu verra ton erreur.

 ![espace erreur template](https://forum.hacf.fr/uploads/default/original/3X/5/8/580f207d40b5d3b9fa6fbce9c3ec3214410887a6.png)

code corriger, essaie avec celui la.

```auto
alias: Presence Ibeacon Tracker Restart
description: " "
trigger:
  - platform: homeassistant
    event: start
condition: []
action:
  - service: device_tracker.see
    data:
      dev_id: ibeacons9
      location_name: |
        {% if states('binary_sensor.esp32_buro_4e1b04_ibeacon_s9') == 'on' %}
          home
        {% elif states('binary_sensor.esp32_buro_4e1b04_ibeacon_s9') == 'off' %}
          not_home
        {% else %}
          unknown
        {% endif %}
      source_type: router
mode: single
max: 10

```

---

_[View the full topic](https://forum.hacf.fr/t/ble-proxy-esp-32-qui-a-vue-qui/27835)._
