I am having difficulties get the proximity working correctly following the directions
https://www.home-assistant.io/integrations/proximity/
I have set up multiple zones using a zone.yaml file. All of these zones show up in Home Assistant on it’s map.
I setup proximity sensors using a yaml file
proximity:
home:
devices:
- device_tracker.bill_pixel_gps
tolerance: 50
unit_of_measurement: mi
costco:
zone: costco
devices:
- device_tracker.bill_pixel_gps
tolerance: 100
unit_of_measurement: mi
xxx_xxx:
zone: bt
devices:
- device_tracker.bill_pixel_gps
tolerance: 100
unit_of_measurement: mi
yyyyy:
zone: yyyy
devices:
- device_tracker.bill_pixel_gps
tolerance: 100
unit_of_measurement: mi
m_m:
zone: mm
devices:
- device_tracker.bill_pixel_gps
tolerance: 100
unit_of_measurement: mi
mbems:
zone: mbems
devices:
- device_tracker.bill_pixel_gps
tolerance: 100
unit_of_measurement: mi
ssss:
zone: ssssz
devices:
- device_tracker.bill_pixel_gps
tolerance: 100
unit_of_measurement: mi
No errors in my logs. Some of the sensors show correctly i.e 8 mi, 2 mi, where others show as “not set mi:” When reading the directions, I am not sure if the unit_of_measurement is needed for the multiple sensors. Tried it many ways and sometimes removing the unit_of_measurement from one sensor would bring back the sensor below. Obviously I am doing something wrong, just not sure what?
What I think should happen is that each of the sensors should show how many miles the device called out is from the zone called out? So if my pixel is at home each sensor should show the distance to each zone?