Skip to content

Commit

Permalink
fix(graph): Loading message didn't appear
Browse files Browse the repository at this point in the history
  • Loading branch information
RomRider committed Jan 22, 2021
1 parent bfe64c5 commit ce3c45c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .devcontainer/ui-lovelace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@ views:
hours_to_show: 0.25
series:
- entity: sensor.humidity
# extend_to_end: true
- type: custom:apexcharts-card
hours_to_show: 0.25
series:
- entity: sensor.non_existent
# extend_to_end: true
2 changes: 1 addition & 1 deletion src/apexcharts-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class ChartsCard extends LitElement {
return {
name: serie.name || serie.entity,
type: serie.type || 'line',
data: [[]],
data: [],
};
}),
xaxis: {
Expand Down

0 comments on commit ce3c45c

Please sign in to comment.