Fix empty classmap for thermostat card (#19078)

This commit is contained in:
Paul Bottein 2023-12-18 14:00:37 +01:00 committed by GitHub
parent 45b7ebbe46
commit ce983f043e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -412,9 +412,7 @@ export class HaStateControlClimateTemperature extends LitElement {
return html` return html`
<div <div
class="container${classMap({ class="container${containerSizeClass}"
[this._sizeController.value ?? ""]: true,
})}"
style=${styleMap({ style=${styleMap({
"--state-color": stateColor, "--state-color": stateColor,
})} })}