Hi!
I’m trying to track my devices through bluetooth, but there’s something I don’t understand. When I turn off bluetooth on any of the devices so that it changes to ‘not_home’, all the other devices that come below it in known_devices.yaml also change to ‘not_home’, while the ones that come before it stay ‘home’. My known_devices.yaml looks like this:
honor_8:
hide_if_away: false
icon:
mac: BT_1C:15:1F:9B:40:95
name: Honor 8
picture:
track: truegalaxy_tab_a_2016:
hide_if_away: false
icon:
mac: BT_58:B1:0F:9A:48:0F
name: Galaxy Tab A (2016)
picture:
track: trueoneplus_3:
hide_if_away: false
icon:
mac: BT_C0:EE:FB:D8:8A:D8
name: OnePlus 3
picture:
track: truelaptop_sbr05dtg:
hide_if_away: false
icon:
mac: BT_C0:B6:F9:C8:A4:23
name: LAPTOP-SBR05DTG
picture:
track: true
So if bluetooth is enabled on all the devices except honor_8, they all report ‘not_home’ since honor_8 comes before them in the yaml file. Similarly, if all the devices except oneplus_3 have bluetooth enabled, honor_8 and galaxy_tab are ‘home’, while oneplus_3 and laptop_sbr05dtg are ‘not home’.
What am I missing here?