diff --git a/custom_card.json b/custom_card.json
index 509d4e7..aa07f66 100644
--- a/custom_card.json
+++ b/custom_card.json
@@ -1,6 +1,6 @@
{
"lovelace-home-feed-card": {
- "version": "0.2.11b2",
+ "version": "0.2.11b3",
"remote_location": "https://raw.githubusercontent.com/gadgetchnnel/lovelace-home-feed-card/master/lovelace-home-feed-card.js",
"visit_repo": "https://github.com/gadgetchnnel/lovelace-home-feed-card",
"changelog": "https://github.com/gadgetchnnel/lovelace-home-feed-card"
diff --git a/lovelace-home-feed-card.js b/lovelace-home-feed-card.js
index b095475..48d6a46 100644
--- a/lovelace-home-feed-card.js
+++ b/lovelace-home-feed-card.js
@@ -12,15 +12,6 @@ class HomeFeedCard extends LitElement {
this.feedContent = null;
this.loadModules();
}
-
-
- disconnectedCallback() {
- this.pageId = null;
- this._hass = null;
- this._config = null;
- this.moment = null;
- this.helpers = null;
- }
loadModules(){
try{
@@ -49,80 +40,6 @@ class HomeFeedCard extends LitElement {
}
- static get template(){
- return html`
-
-
-
-
-
- `;
- }
-
createRenderRoot() {
return this;
}
@@ -838,7 +755,6 @@ class HomeFeedCard extends LitElement {
if(this._hass){
const filtered = Object.keys(this._hass.states).filter(key => key.startsWith("persistent_notification."));
let notificationCount = filtered.length;
-
if(notificationCount != oldNotificationCount || (this.moment && this.moment().diff(notificationsLastUpdate, 'minutes') > 5)){
this.notificationCount = notificationCount;
this.refreshNotifications().then(() => {});