diff --git a/src/layouts/hass-tabs-subpage-data-table.ts b/src/layouts/hass-tabs-subpage-data-table.ts index 2942626502fc..dfab77e67c6a 100644 --- a/src/layouts/hass-tabs-subpage-data-table.ts +++ b/src/layouts/hass-tabs-subpage-data-table.ts @@ -567,6 +567,11 @@ export class HaTabsSubpageDataTable extends LitElement { this._sortDirection = null; } this._sortColumn = this._sortDirection === null ? undefined : columnId; + + fireEvent(this, "sorting-changed", { + column: columnId, + direction: this._sortDirection, + }); } private _handleGroupBy(ev) {