mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 10:16:46 +00:00
Fit map if an entity moved (#4590)
This commit is contained in:
parent
971538e9c2
commit
1f44b4b5a9
@ -202,6 +202,7 @@ class HuiMapCard extends LitElement implements LovelaceCard {
|
||||
protected updated(changedProps: PropertyValues): void {
|
||||
if (changedProps.has("hass")) {
|
||||
this._drawEntities();
|
||||
this._fitMap();
|
||||
}
|
||||
if (
|
||||
changedProps.has("_config") &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user