Re-remove time picker for Energy (#23891)

* Re-remove time picker for Energy

* flip polarity
This commit is contained in:
karwosts 2025-01-27 06:11:08 -08:00 committed by GitHub
parent b3391b34e4
commit d1be441455
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 3 additions and 2 deletions

View File

@ -51,7 +51,7 @@ export class HaDateRangePicker extends LitElement {
public autoApply = false;
@property({ attribute: "time-picker", type: Boolean })
public timePicker = true;
public timePicker = false;
@property({ type: Boolean }) public disabled = false;

View File

@ -172,6 +172,7 @@ class HaPanelHistory extends LitElement {
.startDate=${this._startDate}
.endDate=${this._endDate}
extended-presets
time-picker
@change=${this._dateRangeChanged}
></ha-date-range-picker>
<ha-target-picker

View File

@ -94,6 +94,7 @@ export class HaPanelLogbook extends LitElement {
.startDate=${this._time.range[0]}
.endDate=${this._time.range[1]}
@change=${this._dateRangeChanged}
time-picker
></ha-date-range-picker>
<ha-target-picker

View File

@ -247,7 +247,6 @@ export class HuiEnergyPeriodSelector extends SubscribeMixin(LitElement) {
.endDate=${this._endDate || new Date()}
.ranges=${this._ranges}
@change=${this._dateRangeChanged}
time-picker
minimal
></ha-date-range-picker>
</div>