Skip to content

Commit

Permalink
fix(#81): fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MindFreeze committed Jan 19, 2023
1 parent 1af29b8 commit 96ce77d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ha-sankey-chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import {
getEnergyDataCollection,
getEnergySourceColor,
getStatistics,
EnergySource,
} from './energy';
import { until } from 'lit/directives/until';
import { getEntitiesByArea, HomeAssistantReal } from './hass';
import { LovelaceCardEditor } from 'custom-card-helpers';
import './editor';

/* eslint no-console: 0 */
console.info(
Expand All @@ -43,7 +43,7 @@ const ENERGY_DATA_TIMEOUT = 10000;
@customElement('sankey-chart')
export class SankeyChart extends SubscribeMixin(LitElement) {
public static async getConfigElement(): Promise<LovelaceCardEditor> {
await import('./editor');
// await import('./editor');
return document.createElement('sankey-chart-editor');
}

Expand Down

0 comments on commit 96ce77d

Please sign in to comment.