✨ New Features
🔍 Dynamic Zoom
The zoom field now accepts a Home Assistant entity in addition to a static number. The map will automatically update its zoom level whenever the entity's state changes.
zoom: input_number.map_zoom # reads zoom level from this entityThis is useful for flight tracking, delivery monitoring, or any scenario where you want the zoom level to adjust based on external logic. Build your own zoom algorithm as a template sensor or input_number, and the card follows it.
Static numbers continue to work as before:
zoom: 12🔶 History Dot Shapes
You can now customize the shape of history dots per entity. This makes it much easier to distinguish between entities, especially when they share similar colors.
Available shapes: Circle, Square, Triangle, Diamond, Star, Pentagon
Each shape can be filled or outlined:
entities:
- entity: person.alice
polyline_color: "#ff0000"
history_dot_shape: triangle
history_dot_filled: false # outline only
- entity: person.bob
polyline_color: "#ff0000"
history_dot_shape: diamond # same color, different shapeDot size can now be set explicitly per entity via the visual editor or YAML:
history_dot_size: 10When not specified, dot size is automatically derived from the polyline width (4× the polyline width, minimum 4px). This means thicker polylines get proportionally larger dots without any manual configuration.
All three settings (shape, size, filled/outline) are available in the visual editor under each entity's History Dots section.
⬆️ Upgrading
No breaking changes. All existing configurations continue to work exactly as before. History dots default to filled circles, and zoom defaults to a static number.