From bd6725d58d4493651a02184778d9f5d0a611698c Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 15 Sep 2016 20:49:53 -0700 Subject: [PATCH] Fix dev state attributes --- panels/dev-state/ha-panel-dev-state.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/dev-state/ha-panel-dev-state.html b/panels/dev-state/ha-panel-dev-state.html index bc61b5bf13..3da5a06db7 100644 --- a/panels/dev-state/ha-panel-dev-state.html +++ b/panels/dev-state/ha-panel-dev-state.html @@ -150,7 +150,7 @@ Polymer({ handleSetState: function () { var attr; try { - attr = this.stateAttributes ? JSON.parse(this._stateAttributes) : {}; + attr = this._stateAttributes ? JSON.parse(this._stateAttributes) : {}; } catch (err) { /* eslint-disable no-alert */ alert('Error parsing JSON: ' + err);