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:
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.