diff --git a/src/state-summary/state-card-cover.html b/src/state-summary/state-card-cover.html index 9a90c9f156..dc0e4886e3 100644 --- a/src/state-summary/state-card-cover.html +++ b/src/state-summary/state-card-cover.html @@ -54,11 +54,17 @@ Polymer({ }, computeIsFullyOpen: function (stateObj) { - return stateObj.attributes.current_position === 100; + if (stateObj.attributes.current_position !== undefined) { + return stateObj.attributes.current_position === 100; + } + return stateObj.state === 'open'; }, computeIsFullyClosed: function (stateObj) { - return stateObj.attributes.current_position === 0; + if (stateObj.attributes.current_position !== undefined) { + return stateObj.attributes.current_position === 0; + } + return stateObj.state === 'closed'; }, onOpenTap: function () {