Skip to content

Commit

Permalink
V2025.01.02b23
Browse files Browse the repository at this point in the history
Another attempt at issue #103
  • Loading branch information
petergridge authored Jan 8, 2025
1 parent ad08937 commit 1ef3033
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/irrigationprogram/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/petergridge/irrigation-v5/issues",
"requirements": [],
"version": "V2025.01.02b20"
"version": "V2025.01.02b23"
}
8 changes: 6 additions & 2 deletions custom_components/irrigationprogram/www/irrigation-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,12 @@ class IrrigationCard extends HTMLElement {
} else {
config.card.entities = doErrors;
}

this.lastElementChild.setConfig(config.card);
try {
this.lastElementChild.setConfig(config.card);
}
catch (err) {
console.log("setConfig() failed ignored");
}
this.lastElementChild.hass = hass;
}

Expand Down

0 comments on commit 1ef3033

Please sign in to comment.