Re-do developer tools service (#8410)

This commit is contained in:
Bram Kragten
2021-02-22 19:53:52 +01:00
committed by GitHub
parent 627424b8b9
commit 6092af8de6
28 changed files with 693 additions and 474 deletions

View File

@@ -11,8 +11,14 @@ export class HaObjectSelector extends LitElement {
@property() public label?: string;
@property() public placeholder?: string;
@property({ type: Boolean }) public disabled = false;
protected render() {
return html`<ha-yaml-editor
.disabled=${this.disabled}
.placeholder=${this.placeholder}
.defaultValue=${this.value}
@value-changed=${this._handleChange}
></ha-yaml-editor>`;