${this._config.current !== false ? this.renderCurrent(stateObj) : ""}
${this._config.details !== false ? this.renderDetails(stateObj) : ""}
@@ -251,9 +251,7 @@ class WeatherCard extends LitElement {
${daily.temperature}${this.getUnit("temperature")}
@@ -315,8 +313,8 @@ class WeatherCard extends LitElement {
return 3;
}
- renderStyle() {
- return html`
+ static get styles() {
+ return css`