1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-02 00:27:49 +01:00

Fix passing click handler to ha-switch in cloudhooks section (#30166)

Fix passing clickhandler to ha-switch in cloudhooks section
This commit is contained in:
Joakim Sørensen
2026-03-16 14:27:44 +01:00
committed by Bram Kragten
parent 4020bcec42
commit 4548f9daae

View File

@@ -103,8 +103,10 @@ export class CloudWebhooks extends LitElement {
)}
</ha-button>
`
: html`<ha-switch slot="end">
: html`<ha-switch
slot="end"
@click=${this._enableWebhook}
>
</ha-switch>`}
</ha-md-list-item>
`