From 351962475fad249f5753a21bed1944cb455251f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Z=C3=A1hradn=C3=ADk?= Date: Thu, 2 Jul 2020 23:18:40 +0200 Subject: [PATCH] Custom Door controls (#6195) --- src/components/ha-cover-controls.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/ha-cover-controls.js b/src/components/ha-cover-controls.js index 3cf69923d3..1849439d4a 100644 --- a/src/components/ha-cover-controls.js +++ b/src/components/ha-cover-controls.js @@ -65,6 +65,7 @@ class HaCoverControls extends PolymerElement { computeOpenIcon(stateObj) { switch (stateObj.attributes.device_class) { case "awning": + case "door": case "gate": return "hass:arrow-expand-horizontal"; default: @@ -75,6 +76,7 @@ class HaCoverControls extends PolymerElement { computeCloseIcon(stateObj) { switch (stateObj.attributes.device_class) { case "awning": + case "door": case "gate": return "hass:arrow-collapse-horizontal"; default: