Add all cover device classes (#12042)

This commit is contained in:
Zack Barett 2022-03-14 12:45:12 -05:00 committed by GitHub
parent dcf50e055b
commit 3358fc2b18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 2 deletions

View File

@ -43,7 +43,18 @@ import type { HomeAssistant } from "../../../types";
import { showDeviceRegistryDetailDialog } from "../devices/device-registry-detail/show-dialog-device-registry-detail";
const OVERRIDE_DEVICE_CLASSES = {
cover: ["window", "door", "garage", "gate", "shade"],
cover: [
"awning",
"blind",
"curtain",
"damper",
"door",
"garage",
"gate",
"shade",
"shutter",
"window",
],
binary_sensor: ["window", "door", "garage_door", "opening"],
};

View File

@ -774,7 +774,12 @@
"garage": "Garage door",
"gate": "Gate",
"window": "Window",
"shade": "Shade"
"shade": "Shade",
"awning": "Awning",
"blind": "Blind",
"curtain": "Curtain",
"damper": "Damper",
"shutter": "Shutter"
}
},
"unavailable": "This entity is unavailable.",