I don’t plan to do any more development on this custom component, nor fix any issues that come up with new releases of HA. Anyone is, of course, free to keep using it (I don’t plan to remove it from my repo), as long as it continues to work, or they fix any issues themselves that might come up, but I recommend moving to the standard component which is now available, at least in a beta release.
The existing features you’ve mentioned are also in my custom composite tracker, which I still support. Yes, it’s somewhat being replaced by the new standard person component, but at least for now I’ll try to make sure the composite tracker continues to work with new releases of HA, mainly for these additional features I can’t ever see making themselves into the person component.
Of course, they, and the new feature you’re asking about, probably belong somewhere else. At least, it feels like they should. I added them because I wanted the feature and it was the easiest way for me to do it at the time. So, I guess, at least for now, I probably wouldn’t consider adding this new feature.
Maybe you missed this:
Your automations can still get at this information, albeit in a different way.
I think I just came up with another question related to my last one above…
Right now, I use “show_as_state” and I have combined all of my device trackers into the “person” component.
On the frontend, the state of my “person.xxx” is shown as the location I’m in based on my zones I have set up in HA. However, it also will show my state as “driving” or “moving” if I’m not home or in another defined zone and I’m actually driving, etc.
Since the “show_as_state” is removed will the state of the person component still show as “driving” like it did before? I think the answer, unfortunately, will be no but I’m hoping it’s yes.
but, having read the discussions that accompanied this integration, my bets are on the long lived CC, even though my hopes are on the development of the integration.
not sure if i should add this as an issue to here or not. but I am having an issue with the custom component Life360. I recently just update from 0.87 to 0.94.4 and I am getting errors in about:
In my log. Setup failed for life360: No setup function defined.
i just read on your github that there was a complete overhaul of the custom components setup. I am going to complete those steps and return if needed. I will let you know if I still need your help. Thank you for you fast response.
Then in your automations instead of using the state of your device_tracker you use the state of your new template sensors (ie sensor.sean_driving_status & sensor.sean_moving_status).
It’s not quite as clean as before, especially when displaying in the UI, but this one very minor drawback is totally worth it to get this as a standard integration
Not all of the functionality that was removed was “forced out.” I chose to remove some features that I thought would make it harder to be accepted. The “standardization” process was difficult enough as it was. Leaving those features in could easily have made it even harder.
Of the features removed, show_as_state: driving, moving might be the easiest to add back. I don’t think I’d want to add the show_as_state: places option. That’s just too close the zone issues I ran up against. Better to add HA zones that are equivalent to the Places, and I explain how that can be done in the doc.
If there’s a strong desire to have show_as_state: driving, moving added back, by all means, open an Issue. I suppose it’s not strictly a bug report, but in this case an argument could probably be made to handle it this way (since many are coming from the custom component, and moving to the standard component is causing a “deficiency.”)
I’ll admit that I kind of liked being able to see Driving and Moving, not only “live”, but in the state history.
yes Phil, that would truly be awesome. Having these as state makes life so much easier, and, probably more robust also. Life360 sometimes has some latency regarding these and using these as markers between being in a Zone, or simply being Home/Not Home natively is certainly the way forward.
the device can then be either Home, Moving, Driving, in a Zone, or Not Home. which would be perfect.
If you want to keep using the custom component with 0.95+, you’ll need to rename it. Change the name of the folder in <config>/custom_components from life360 to something else. Then change this line in your configuration:
- platform: life360
to match.
This is necessary because the standard life360 uses config flow, and therefore you can’t have a custom component with the same name (because it’s not supported and won’t load if it’s the same name.)