Fix zoom setting in maps card (#9613)

Fixes #9611
This commit is contained in:
Bram Kragten 2021-07-27 00:02:50 +02:00 committed by GitHub
parent bf4192a1f0
commit 586fa1d0f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,6 +133,7 @@ class HuiMapCard extends LitElement implements LovelaceCard {
this._config, this._config,
this._configEntities this._configEntities
)} )}
.zoom=${this._config.default_zoom ?? 14}
.paths=${this._getHistoryPaths(this._config, this._history)} .paths=${this._getHistoryPaths(this._config, this._history)}
.darkMode=${this._config.dark_mode} .darkMode=${this._config.dark_mode}
></ha-map> ></ha-map>