mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-27 23:07:20 +00:00
Add gate to the list of device classes to pick for overrides (#11487)
This commit is contained in:
parent
cb47ee7721
commit
afbe85625c
@ -42,7 +42,7 @@ 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"],
|
cover: ["window", "door", "garage", "gate"],
|
||||||
binary_sensor: ["window", "door", "garage_door", "opening"],
|
binary_sensor: ["window", "door", "garage_door", "opening"],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -733,6 +733,7 @@
|
|||||||
"cover": {
|
"cover": {
|
||||||
"door": "Door",
|
"door": "Door",
|
||||||
"garage": "Garage door",
|
"garage": "Garage door",
|
||||||
|
"gate": "Gate",
|
||||||
"window": "Window"
|
"window": "Window"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user