mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix device config dialog when disabled (#17464)
This commit is contained in:
parent
7d80eb06b0
commit
79e1fbe076
@ -1295,6 +1295,11 @@ export class HaConfigDevicePage extends LitElement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (
|
||||||
|
updates.disabled_by !== null &&
|
||||||
|
updates.disabled_by !== "user"
|
||||||
|
) {
|
||||||
|
delete updates.disabled_by;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
await updateDeviceRegistryEntry(this.hass, this.deviceId, updates);
|
await updateDeviceRegistryEntry(this.hass, this.deviceId, updates);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user