Skip to content

Commit

Permalink
Fix #54: Graph not working on 2023.2
Browse files Browse the repository at this point in the history
  • Loading branch information
danimart1991 authored Feb 5, 2023
1 parent 54881cf commit 15e6f8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You could use [HACS](https://hacs.xyz/) or follow this [guide](https://www.danie

```yaml
resources:
url: /local/pvpc-hourly-pricing-card.js?v=1.7.0
url: /local/pvpc-hourly-pricing-card.js?v=1.8.0
type: module
```
Expand Down
1 change: 1 addition & 0 deletions dist/pvpc-hourly-pricing-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ class PVPCHourlyPricingCard extends LitElement {
this.setPVPCHourlyPricingObj();
let chart = this.shadowRoot.getElementById('Chart');
if (chart) {
chart.hass = this.hass;
chart.type = this.ChartData.type;
chart.data = this.ChartData.data;
chart.options = this.ChartData.options;
Expand Down

0 comments on commit 15e6f8a

Please sign in to comment.