How to get Google Maps location attributes?

Hi pals!

I’m trying to get the latitude from the Google Maps location device tracker:

I’m trying a “current state” node with this, but it outputs nothing:

states.device_tracker.google_maps_102940686533275856275.attributes.latitude

Any ideas? Thanks!

After a current-state node it would be msg.data.attributes.latitude

Thanks! But where exactly should I enter that? All I get from the current state node is “home” or “not_home”:

Thanks!

Change your debug node to output data.attributes.latitude instead of payload

1 Like

Awesome, thanks!! I’m already sending my location to BigQuery :slight_smile: