mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Allow unhiding entity hidden by integration (#19753)
This commit is contained in:
parent
b360c854a8
commit
a6d73f7615
@ -939,9 +939,7 @@ export class EntityRegistrySettingsEditor extends LitElement {
|
|||||||
>
|
>
|
||||||
<ha-switch
|
<ha-switch
|
||||||
.checked=${!this._disabledBy && !this._hiddenBy}
|
.checked=${!this._disabledBy && !this._hiddenBy}
|
||||||
.disabled=${this.disabled ||
|
.disabled=${this.disabled || this._disabledBy}
|
||||||
this._disabledBy ||
|
|
||||||
(this._hiddenBy && this._hiddenBy !== "user")}
|
|
||||||
@change=${this._hiddenChanged}
|
@change=${this._hiddenChanged}
|
||||||
></ha-switch>
|
></ha-switch>
|
||||||
</ha-settings-row>
|
</ha-settings-row>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user