mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 10:59:50 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user