The Map card that allows you to display entities on a map
Screenshot of the map card.
List of entity IDs. Either this or the
geo_location_sources configuration option is required.
List of geolocation sources. All current entities with that source will be displayed on the map. See Geolocation platform for valid sources. Set to
all to use all available sources. Either this or the
entities configuration option is required.
Forces the height of the image to be a ratio of the width. You may enter a value such as:
The default zoom level of the map.
14 (or whatever zoom level is required to fit all visible markers)
default_zoom value will be ignored if it is set higher than the current zoom level
after fitting all visible entity markers in the map window. In other words, this can only
be used to zoom the map out by default.
type: map aspect_ratio: 16:9 default_zoom: 8 entities: - device_tracker.demo_paulus - zone.home
type: map geo_location_sources: - nsw_rural_fire_service_feed entities: - zone.home
type: map entities: - device_tracker.demo_paulus hours_to_show: 48