BLE Proxy Esp 32 -- qui a vue qui?

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.

code corriger, essaie avec celui la.

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