@BrianEH would you mind creating a PR on Github? Seems like a nice addition!
@BrianEH @PeterHant77 @matt0020190 based on @BrianEH’s code (with some adjustments) I create v0.2.0 with the focus_entity
feature. See Releases · nathan-gs/ha-map-card · GitHub
–
update: created a version v0.3.1 with picture support and taking the position from the first entity.
Okay then. I’m excited someone looked at my addition. I oscillate between projects and now I’m back on HASS (after going hardcore into a new 3D printer for awhile). I’ll have to try out the new version.
And this seems like a good excuse to set myself on guthub.
@nathan.gs Very nice addition, the original map is just cr@p… (See what I did there?) I’m having a little problem adding my map source to it. I need a sea chart, because this instance of Hass is in my boat. For that I use GaladrielMap, a map server running on the Pi’s Apache2 that caches the tiles, so I don’t need internet access when I’m out with the boat. I tried adding this:
tile_layer_url: 'http://192.168.3.1:8080/tileproxy/tiles.php?z={z}&x={x}&y={y}&r=NAIS
But that is of course not working, since this is not a tile layer, it’s a map server. Can you please help me getting this working?
Sorry, it started working after a restart. My bad. Thank you for a nice card!