Skip to content

Commit 3889332

Browse files
authored
Fix energy now button (#26384)
Update hui-energy-period-selector.ts
1 parent a39ab3c commit 3889332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/panels/lovelace/components/hui-energy-period-selector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export class HuiEnergyPeriodSelector extends SubscribeMixin(LitElement) {
208208
? html`<ha-button
209209
appearance="filled"
210210
size="small"
211-
click=${this._pickNow}
211+
@click=${this._pickNow}
212212
>
213213
${this.hass.localize(
214214
"ui.panel.lovelace.components.energy_period_selector.now"

0 commit comments

Comments
 (0)