mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 18:56:39 +00:00
Disable attribute validation on initial load of ha-selector-attribute (#15697)Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Disable attribute validation on initial load of ha-selector-attribute * Update src/components/ha-selector/ha-selector-attribute.ts --------- Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
77c3b5b5a5
commit
f193563649
@ -59,7 +59,8 @@ export class HaSelectorAttribute extends LitElement {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
!this.context ||
|
!this.context ||
|
||||||
oldContext?.filter_entity === this.context.filter_entity
|
!oldContext ||
|
||||||
|
oldContext.filter_entity === this.context.filter_entity
|
||||||
) {
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user