Fix incompatible object/array property types (2 of 3) (#19482)

This commit is contained in:
Steve Repsher
2024-01-22 10:04:58 -05:00
committed by GitHub
parent 28a8863f45
commit 349344161a
58 changed files with 97 additions and 89 deletions

View File

@@ -73,7 +73,8 @@ class HaEntitiesPickerLight extends LitElement {
@property({ attribute: "pick-entity-label" }) public pickEntityLabel?: string;
@property() public entityFilter?: HaEntityPickerEntityFilterFunc;
@property({ attribute: false })
public entityFilter?: HaEntityPickerEntityFilterFunc;
protected render() {
if (!this.hass) {

View File

@@ -92,7 +92,8 @@ export class HaEntityPicker extends LitElement {
@property({ type: Array, attribute: "exclude-entities" })
public excludeEntities?: string[];
@property() public entityFilter?: HaEntityPickerEntityFilterFunc;
@property({ attribute: false })
public entityFilter?: HaEntityPickerEntityFilterFunc;
@property({ type: Boolean }) public hideClearIcon = false;