Great Addon :) - a suggestion
Hi Marty:)
Just tried your addon - works great!
I have so far been using this one https://github.com/drlauridsen/Enode-for-HA which practically does the same as yours - i cannot figure out the difference in what is best.
But the one i linked to makes a device tracker for the car, so you can follow it with zones and what not in HA.
Maybe you could add this?
/ Jacob
You could try this approach by creating an automation as the location is already captured, replace the names with yours as i have an xpeng g6, you will have a device tracker for your car that you can use on a map card.
alias: "Update XPeng G6 Location Tracker" description: "Update the device_tracker.xpeng_g6 entity whenever Enode location changes" trigger:
- platform: state entity_id: geo_location.xpeng_g6_location action:
- service: device_tracker.see data: dev_id: xpeng_g6 gps: - "{{ state_attr('geo_location.xpeng_g6_location', 'latitude') }}" - "{{ state_attr('geo_location.xpeng_g6_location', 'longitude') }}" gps_accuracy: "{{ state_attr('geo_location.xpeng_g6_location', 'accuracy') | int(100) }}" mode: single
@jascdk That's a neat suggestion. I had a Quick Look and it doesn't appear to be too difficult. When I have some free time I will try add that.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.