1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 12:49:19 +00:00

Map Card: Fix Dark Mode Toggle (#5209)

* Fix Editor

* comment
This commit is contained in:
Zack Arnett
2020-03-16 07:23:13 -04:00
committed by GitHub
parent b77e0b8125
commit 2110d9c3b9

View File

@@ -113,7 +113,7 @@ export class HuiMapCardEditor extends LitElement implements LovelaceCardEditor {
></paper-input>
</div>
<ha-switch
.checked="${this._config!.dark_mode !== false}"
.checked="${this._dark_mode}"
.configValue="${"dark_mode"}"
@change="${this._valueChanged}"
>${this.hass.localize(