mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 21:37:21 +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
|
||||
value="outlet"
|
||||
.selected=${!this._deviceClass ||
|
||||
this._deviceClass === "outlet"}
|
||||
.selected=${this._deviceClass === "outlet"}
|
||||
>
|
||||
${this.hass.localize(
|
||||
"ui.dialogs.entity_registry.editor.device_classes.switch.outlet"
|
||||
|
Loading…
x
Reference in New Issue
Block a user