mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Custom Door controls (#6195)
This commit is contained in:
parent
6c73392a57
commit
351962475f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user