diff --git a/dist/meteofrance-weather-card-editor.js b/dist/meteofrance-weather-card-editor.js index 748ad87..cdd78a5 100644 --- a/dist/meteofrance-weather-card-editor.js +++ b/dist/meteofrance-weather-card-editor.js @@ -82,8 +82,8 @@ export class MeteofranceWeatherCardEditor extends LitElement { return this._config.alert_forecast !== false; } - get _static_icons() { - return this._config.static_icons !== false; + get _animated_icons() { + return this._config.animated_icons !== false; } // Config value @@ -174,9 +174,9 @@ export class MeteofranceWeatherCardEditor extends LitElement { "forecast" )} ${this.renderSwitchOption( - "Use static icons", - this._static_icons, - "static_icons" + "Use animated icons", + this._animated_icons, + "animated_icons" )} diff --git a/dist/meteofrance-weather-card.js b/dist/meteofrance-weather-card.js index 393ff70..c769572 100644 --- a/dist/meteofrance-weather-card.js +++ b/dist/meteofrance-weather-card.js @@ -718,7 +718,7 @@ class MeteofranceWeatherCard extends LitElement { ? this._config.icons : "/local/community/lovelace-meteofrance-weather-card/icons/" }${isNight ? weatherIconsNight[condition] : weatherIconsDay[condition]}${ - this.isSelected(this._config.static_icons) ? "-static" : "" + this.isSelected(this._config.animated_icons) ? "" : "-static" }.svg`; }