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:
karwosts 2023-03-06 02:47:09 -08:00 committed by GitHub
parent 77c3b5b5a5
commit f193563649
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,8 @@ export class HaSelectorAttribute extends LitElement {
if (
!this.context ||
oldContext?.filter_entity === this.context.filter_entity
!oldContext ||
oldContext.filter_entity === this.context.filter_entity
) {
return;
}