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

@@ -19,11 +19,14 @@ export class HaBooleanSelector extends LitElement {
@property() public label?: string;
@property({ type: Boolean }) public disabled = false;
protected render() {
return html` <ha-formfield alignEnd spaceBetween .label=${this.label}>
<ha-switch
.checked=${this.value}
@change=${this._handleChange}
.disabled=${this.disabled}
></ha-switch>
</ha-formfield>`;
}