mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Add fit_zones parameter to map card (#18760)
This commit is contained in:
parent
ffb19b31a5
commit
71a41be20a
@ -164,6 +164,7 @@ class HuiMapCard extends LitElement implements LovelaceCard {
|
||||
.zoom=${this._config.default_zoom ?? DEFAULT_ZOOM}
|
||||
.paths=${this._getHistoryPaths(this._config, this._stateHistory)}
|
||||
.autoFit=${this._config.auto_fit}
|
||||
.fitZones=${this._config.fit_zones}
|
||||
.darkMode=${this._config.dark_mode}
|
||||
interactiveZones
|
||||
renderPassive
|
||||
|
@ -295,6 +295,7 @@ export interface MapCardConfig extends LovelaceCardConfig {
|
||||
title?: string;
|
||||
aspect_ratio?: string;
|
||||
auto_fit?: boolean;
|
||||
fit_zones?: boolean;
|
||||
default_zoom?: number;
|
||||
entities?: Array<EntityConfig | string>;
|
||||
hours_to_show?: number;
|
||||
|
Loading…
x
Reference in New Issue
Block a user