We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c530f88 commit cd2278bCopy full SHA for cd2278b
src/ha-sankey-chart.ts
@@ -176,7 +176,7 @@ export class SankeyChart extends SubscribeMixin(LitElement) {
176
const deviceIds = (collection.prefs?.device_consumption || [])
177
.map(d => d.stat_consumption)
178
.filter(id => {
179
- if (!this.hass.entities[id]) {
+ if (!this.hass.states[id]) {
180
console.warn('Ignoring missing entity ' + id);
181
return false;
182
}
0 commit comments