mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 12:26:35 +00:00
Fix Switch as X unable to change to a new type (#12797)
This commit is contained in:
parent
c0d30c56d6
commit
3550a8c263
@ -378,8 +378,7 @@ export class EntityRegistrySettings extends SubscribeMixin(LitElement) {
|
|||||||
</mwc-list-item>
|
</mwc-list-item>
|
||||||
<mwc-list-item
|
<mwc-list-item
|
||||||
value="outlet"
|
value="outlet"
|
||||||
.selected=${!this._deviceClass ||
|
.selected=${this._deviceClass === "outlet"}
|
||||||
this._deviceClass === "outlet"}
|
|
||||||
>
|
>
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
"ui.dialogs.entity_registry.editor.device_classes.switch.outlet"
|
"ui.dialogs.entity_registry.editor.device_classes.switch.outlet"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user