Add valve to switch_as_x domains (#19118)

This commit is contained in:
Erik Montnemery 2023-12-22 11:34:09 +01:00 committed by GitHub
parent 6d20ed0a22
commit 55e59f8cb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ const OVERRIDE_DEVICE_CLASSES = {
],
};
const SWITCH_AS_DOMAINS = ["cover", "fan", "light", "lock", "siren"];
const SWITCH_AS_DOMAINS = ["cover", "fan", "light", "lock", "siren", "valve"];
const PRECISIONS = [0, 1, 2, 3, 4, 5, 6];