Skip to content

Commit 1ad580a

Browse files
authored
Descriptions will only be provided by legacy services without translations (#660)
1 parent 94f3844 commit 1ad580a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export type HassEntities = { [entity_id: string]: HassEntity };
9999

100100
export type HassService = {
101101
name?: string;
102-
description: string;
102+
description?: string;
103103
target?: {} | null;
104104
fields: {
105105
[field_name: string]: {
@@ -114,7 +114,7 @@ export type HassService = {
114114
};
115115
// Custom integrations don't use translations and still have name/description
116116
name?: string;
117-
description: string;
117+
description?: string;
118118
};
119119
};
120120
response?: { optional: boolean };

0 commit comments

Comments
 (0)