Proximity error on Nonetype (caused by single incorrect device_tracker)

recieve this since I added a new proximity yesterday, and I can’t for the life of me see why this is happening.
Ive got many the same styled proximities defined, and they all work perfectly. Please have a look what’s going on:

zwembad_de_stok:
  zone: zwembad_de_stok
  devices:
    - device_tracker.life_360_1  # <-- update, this is incorrect should be life360_1
    - device_tracker.life360_2
    - device_tracker.life360_3
    - device_tracker.life360_4
  tolerance: 200
  unit_of_measurement: m

of course I have the zone.zwembad_de_stok:

and it shows on the map:

42

  File "/usr/src/homeassistant/homeassistant/components/proximity/__init__.py", line 173, in check_proximity_state_change
    if device_state.state in self.ignored_zones:
AttributeError: 'NoneType' object has no attribute 'state'

please have a look with me.
thanks

update
wait, I now spot an error in the first device_tracker… a second underscore that should not be there.
restarting as I type this to see if that caused it.

update
yes it did solve it.

Note to myself and the community: though the error is a bit obscure it was correct: having an undefined device_tracker (also in a list with more correct ones) causes the complete proximity to fail.

Please mark your post as solving the problem.

But, yes, this looks like a bug. You should probably open an issue. It should be very simple to fix. (Of course, I got you in “trouble” before by suggesting you open an issue, so… :wink:)

I can’t, there’s no tick in the bottom bar options…
will consider the issue :wink:

You click this button in your original post:

image

As said, its not there. It never is on a first post you write yourself:

10

might be a bug in the forum software :wink:

Or it could be extremely rare to solve an issue by yourself so quickly haha.
gave you the credit …

Ah, ok, I guess that makes sense.

Then in the future, when you solve the problem yourself, make a reply instead of editing the original post. Then you’ll have something to click on. :wink: