Disable attributes for hass, stateObj, selector, and route properties (#19362)

* Disable attribute for hass properties

* Disable attribute for stateObj properties

* Disable attribute for selector properties

* Disable attribute for route properties

* Switch from Object type to no attribute for same properties
This commit is contained in:
Steve Repsher
2024-01-15 09:52:10 -05:00
committed by GitHub
parent 9f26bedf51
commit 70fcea0c2b
132 changed files with 163 additions and 163 deletions

View File

@@ -59,11 +59,11 @@ const LEGACY_UI_SELECTORS = new Set(["ui-action", "ui-color"]);
@customElement("ha-selector")
export class HaSelector extends LitElement {
@property() public hass!: HomeAssistant;
@property({ attribute: false }) public hass!: HomeAssistant;
@property() public name?: string;
@property() public selector!: Selector;
@property({ attribute: false }) public selector!: Selector;
@property() public value?: any;