Add gate to the list of device classes to pick for overrides (#11487)

This commit is contained in:
J. Nick Koston 2022-01-30 21:37:13 -06:00 committed by GitHub
parent cb47ee7721
commit afbe85625c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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"],
}; };

View File

@ -733,6 +733,7 @@
"cover": { "cover": {
"door": "Door", "door": "Door",
"garage": "Garage door", "garage": "Garage door",
"gate": "Gate",
"window": "Window" "window": "Window"
} }
}, },