Add statistic adjust dialog (#12101)

Co-authored-by: Zack Barett <zackbarett@hey.com>
This commit is contained in:
Paulus Schoutsen
2022-03-22 15:40:00 -07:00
committed by GitHub
parent afd2e71f6c
commit 840858b18c
8 changed files with 231 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ export class HaDateTimeSelector extends LitElement {
protected render() {
const values = this.value?.split(" ");
return html`
<ha-date-input
.label=${this.label}
@@ -37,7 +38,7 @@ export class HaDateTimeSelector extends LitElement {
</ha-date-input>
<ha-time-input
enable-second
.value=${values?.[1] || "00:00:00"}
.value=${values?.[1] || "0:00:00"}
.locale=${this.hass.locale}
.disabled=${this.disabled}
@value-changed=${this._valueChanged}