From de55c133552514555cf86a23f43a38ef06338f40 Mon Sep 17 00:00:00 2001 From: Boyi C Date: Sat, 5 May 2018 04:04:07 +0800 Subject: [PATCH] Fix chart not updating #1104 (#1139) --- src/components/entity/ha-chart-base.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/entity/ha-chart-base.html b/src/components/entity/ha-chart-base.html index fbab75218a..223908d080 100644 --- a/src/components/entity/ha-chart-base.html +++ b/src/components/entity/ha-chart-base.html @@ -161,6 +161,10 @@ }; } + static get observers() { + return ['onPropsChange(data)']; + } + connectedCallback() { super.connectedCallback(); this._isAttached = true;