New update 3.8
Some work is required in this upgrade. Please see below on the steps required when upgrading. It is easy and not a breaking change.
Device Tracker - "People"
We have updated “Zone - Device Tracker” to include a new selection “People”. This will now allow you to select a zone and the people you would like to track in that zone. You still have the option to just select a zone if you prefer. Thanks to @gamba69 for the help with the code. See below the changes
What can this now do?
If you use device tracker, you could track your cars, pets, people etc. In some cases you could all go out for the night in one car and leave the other car behind. You could go for a walk and leave your car behind. This will show one device in the zone (your car), and your lights would still turn ON when your pets run around the house. With the new option having the ability to also include people, you can now exclude the items you don’t want to track (the car) and include the people you would like to track. So now your lights can remain OFF until one person arrives home.
The title description has also changed to “Device Tracker”. Hopefully this will make it clearer in your selection.
STEPS REQUIRED WHEN UPGRADING
If you have never selected to use device tracker then most likely you won’t need to do anything but you may want to check just encase you have selected device tracker in the past.
1 - Upgrade your blueprint.
2 - Then go into your automation (the ones using this blueprint) and click the 3 dots top right and “Edit in YAML”
3 - We are looking for the words or input called “include_zone: ???” If you don’t see this then you have never selected it and your all good to go, your done. If you see it then continue on.
4 - Delete this line,(“include_zone: ???”) then click save, click 3 dots and select “Edit in visual editor”
5 - Update your selection if you would like to use the device tracker.
6 - Click save, you’re done. Now just do the same in your other automations using this blueprint.
If you would like to easily find all the automation that are using this blueprint so you can check your YAML. Go into blueprints and click on the 3 dots next to the sensor light blueprint and select “show automations using this blueprint” You then can easily edit them all. See below.
Back to FAQ: Click Here