diff --git a/src/graphEntry.ts b/src/graphEntry.ts index 8aa5bff..aabb71b 100644 --- a/src/graphEntry.ts +++ b/src/graphEntry.ts @@ -463,7 +463,7 @@ export default class GraphEntry { period: StatisticsPeriod = DEFAULT_STATISTICS_PERIOD, ): Promise { const statistics = await this._hass?.callWS({ - type: 'history/statistics_during_period', + type: 'recorder/statistics_during_period', start_time: start?.toISOString(), end_time: end?.toISOString(), statistic_ids: [this._entityID],