Hi Petro, I’m using the sensor from Home Assistant app, I did enable it to send my geo location and when I look into that sensor data in Attributes there is Longitude and Latitude.
that’s interesting, my geocode location sensors do not have a latitude and longitude attribute. Can you post a screenshot of yours in the dev tools → states page? I’d be willing to bet that they do not have these attributes. The attribute needs to be exactly latitude and longitude and both has to have a value. It cannot be the location attribute with a comma separated list.
it goes in configuration.yaml, and it will only work if your geocoded entities have those attributes. For example, my geocoded entities have different attributes.
I think you should spend some more time learning what each keyword I said means. These are basic fundamentals of home assistant.
If you take the code I produced above, copy and paste them into configuration.yaml, then put your entity_id in the correct spots in the code, it should work. But this will only work if your geocoded entity has the attributes that are used in the code.
Basics fundamentals of home assistant is a cliff dive for some of us without the in depth programing background. I know the basics of C++ but I feel like I’m on a tricycle trying to learn the control of a SpaceX rocket.
Any further assistance or direction would be much appreciated.