diff --git a/lib/types.ts b/lib/types.ts index 294f4cb0..7d289fe0 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -107,13 +107,10 @@ export type HassService = { required?: boolean; advanced?: boolean; selector?: {}; - filter?: - | { - attribute?: Record; - } - | { - supported_features?: Record; - }; + filter?: { + supported_features?: number[]; + attribute?: Record; + }; // Custom integrations don't use translations and still have name/description name?: string; description: string;