diff --git a/light-entity-row.js b/light-entity-row.js index 736943b..149b684 100644 --- a/light-entity-row.js +++ b/light-entity-row.js @@ -171,7 +171,7 @@ class AdjustableLightEntityRow extends Polymer.Element { throw new Error(`invalid entity ${config.entity}`) } - this._config = config; + this._config = JSON.parse(JSON.stringify(config)); this._config.buttons = config.buttons || []