BTW, I probably should have suggested:
{{ is_state_attr('proximity.' ~ trigger.entity_id.rsplit('_', 1)[-1] ~ 'home', 'dir_of_travel', 'towards') }}
BTW, I probably should have suggested:
{{ is_state_attr('proximity.' ~ trigger.entity_id.rsplit('_', 1)[-1] ~ 'home', 'dir_of_travel', 'towards') }}
That one works too.
Thanks. This nugget alone is worth the the price of todayās admission.
Much better than all the workarounds I use when trying to test templates based on a trigger!
Like the button card So I Like to see your code too
Please share it with us
@Alwin_Hummels and @redeye_joe I will happily share the code for this button soon, but Iāve been hoping that @RomRider would have chance to look at a bug I raised for a map refresh issue (https://github.com/custom-cards/button-card/issues/279) with it before doing so. The constant refreshing unfortunately spoils the final button which is why I havenāt shared the code yet, but may do so anyway in case anyone else can figure out a solution.
thanks a lot for your clear reaction
@Alwin_Hummels @redeye_joe Iāve posted the code on the button card thread here: Lovelace: Button card
Thanks I appreciate that
Iāll check what I can do, but I think it will be hard to tackle down
Currently the card refreshes every time any entity is modified (which is the design I used so that you donāt have to declare the entities which would trigger an update of the button). Thatās why you see this behaviour.
Thanks @RomRider, I appreciate whatever you are able to do even if no fix can be found. I have huge respect for any dev that commits their spare time to Home Assistant, making it such a great system to use (thanks to @pnbruckner for this Life360 integration too).
Hi everyone, strange behavior since upgrading to 107. The entity reports āHomeā in several attributes, but ānot homeā in the State.
No change to the configuration have been made recently. I have used the integration for a while and i admit i have not kept up to date with discussions around potential breaking changes ?
Any ideas ?
Thanks!
Config:
life360:
accounts:
- username: !secret life360_username
password: !secret life360_password
Blockquote
Thank @pnbruckner. I just read through the docs. If I understand correctly, unless I have a zone defined, then the default for āHomeā is what i defined in my configuration.yaml (under homeassistant: latitude and longitude). I checked those numbers against what is reported by the life360 tracker (i am home right now) and the numbers were the same -rounded at the 3rd decimal point-. To be safe, I even pasted what was reported by the life360 entitiy with all the digits into my configuration for lat and lon. Restarted Homeassistant, but still the same issue.
What is the radius of the Home Place in the Life360 Circle? The default radius of HAās Home zone is 100 meters.
Where do you show up in HAās map?
Bottom line - the life360 integration doesnāt determine if the entity is home or not. It just reports the GPS data to the device_tracker component level code, and it decides.
Guess what, just upgraded to 107.1 and now it works Thank you anyway, and -as always- immensely grateful to the Devs and the magic they do for all of us !!
FYI, I think there was a problem with the zone integration in 0.107.0. That could explain it.
I also cannot get life360 to work and also have no known_devices.yaml file. Where does this file come from? Do I need to create it manually? HA version 0.108.3.
I am new HA and I am trying without success to implement Life 360. The instuctions on the github page are really out of date. Why doesnāt someone go back and update them or remove them?
I have copied the 3 files and made the changes to my config.yaml file but it still doesnāt work I have read some comments about known_devices.yaml file but i donāt have such a file.
Please help.
It appears that you may be trying to use the really old custom integration, which was replaced long ago with a standard integration. Please remove everything you added, restart HA, then follow the directions for the standard integration.