mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Add all cover device classes (#12042)
This commit is contained in:
parent
dcf50e055b
commit
3358fc2b18
@ -43,7 +43,18 @@ import type { HomeAssistant } from "../../../types";
|
|||||||
import { showDeviceRegistryDetailDialog } from "../devices/device-registry-detail/show-dialog-device-registry-detail";
|
import { showDeviceRegistryDetailDialog } from "../devices/device-registry-detail/show-dialog-device-registry-detail";
|
||||||
|
|
||||||
const OVERRIDE_DEVICE_CLASSES = {
|
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"],
|
binary_sensor: ["window", "door", "garage_door", "opening"],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -774,7 +774,12 @@
|
|||||||
"garage": "Garage door",
|
"garage": "Garage door",
|
||||||
"gate": "Gate",
|
"gate": "Gate",
|
||||||
"window": "Window",
|
"window": "Window",
|
||||||
"shade": "Shade"
|
"shade": "Shade",
|
||||||
|
"awning": "Awning",
|
||||||
|
"blind": "Blind",
|
||||||
|
"curtain": "Curtain",
|
||||||
|
"damper": "Damper",
|
||||||
|
"shutter": "Shutter"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"unavailable": "This entity is unavailable.",
|
"unavailable": "This entity is unavailable.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user