ESPresense distance:nulll on tracked devices - no changes of state

FIXED the problem with help of a github user.
Here is the resolution for that:

In essence, the mqtt_room block should be:

- platform: mqtt_room
    device_id: "watch_douglas"
    name: "Watch Douglas"
    state_topic: "espresense/devices/watch_douglas"
    timeout: 10
    away_timeout: 120

device_id should match the alias created in ESPresense enrollment process as well.

5 Likes