feat: add support for automations #181
test.yml
on: pull_request
Matrix: check-and-lint
Matrix: adapter-tests
Annotations
8 errors
check-and-lint (18.x):
src/controller/handler/bshb-air-purity-guardian-handler.ts#L131
Argument of type '{ type: "state"; common: { name: string; type: "string" | "number" | "boolean" | "object" | "array" | "mixed" | "file"; role: string; read: true; write: true; }; native: {}; }' is not assignable to parameter of type '(Omit<StateObject, "_id" | "acl"> & { _id?: string | undefined; acl?: StateACL | undefined; }) | (Omit<ChannelObject, "_id" | "acl"> & { ...; }) | ... 14 more ... | (Omit<...> & { ...; })'.
|
check-and-lint (18.x):
src/controller/handler/bshb-device-handler.ts#L418
Argument of type '{ type: "state"; common: { name: string; type: "string" | "number" | "boolean" | "object" | "array" | "mixed" | "file"; role: string; read: true; write: boolean; unit: string | undefined; states: string | ... 1 more ... | undefined; }; native: { ...; }; }' is not assignable to parameter of type '(Omit<StateObject, "_id" | "acl"> & { _id?: string | undefined; acl?: StateACL | undefined; }) | (Omit<ChannelObject, "_id" | "acl"> & { ...; }) | ... 14 more ... | (Omit<...> & { ...; })'.
|
check-and-lint (18.x):
src/controller/handler/bshb-intrusion-detection-handler.ts#L144
Argument of type '{ type: "state"; common: { name: string; type: "string" | "number" | "boolean" | "object" | "array" | "mixed" | "file"; role: string; read: true; write: false; unit: string | undefined; states: string | ... 1 more ... | undefined; }; native: {}; }' is not assignable to parameter of type '(Omit<StateObject, "_id" | "acl"> & { _id?: string | undefined; acl?: StateACL | undefined; }) | (Omit<ChannelObject, "_id" | "acl"> & { ...; }) | ... 14 more ... | (Omit<...> & { ...; })'.
|
check-and-lint (18.x):
src/controller/handler/bshb-motion-lights-handler.ts#L106
Argument of type '{ type: "state"; common: { name: string; type: "string" | "number" | "boolean" | "object" | "array" | "mixed" | "file"; role: string; read: true; write: true; }; native: {}; }' is not assignable to parameter of type '(Omit<StateObject, "_id" | "acl"> & { _id?: string | undefined; acl?: StateACL | undefined; }) | (Omit<ChannelObject, "_id" | "acl"> & { ...; }) | ... 14 more ... | (Omit<...> & { ...; })'.
|
check-and-lint (18.x):
src/controller/handler/bshb-room-handler.ts#L113
Argument of type '{ type: "state"; common: { name: string; type: "string" | "number" | "boolean" | "object" | "array" | "mixed" | "file"; role: string; unit: string | undefined; read: true; write: false; }; native: {}; }' is not assignable to parameter of type '(Omit<StateObject, "_id" | "acl"> & { _id?: string | undefined; acl?: StateACL | undefined; }) | (Omit<ChannelObject, "_id" | "acl"> & { ...; }) | ... 14 more ... | (Omit<...> & { ...; })'.
|
check-and-lint (18.x):
src/controller/handler/bshb-room-handler.ts#L137
Argument of type '{ type: "state"; common: { name: string; type: "string" | "number" | "boolean" | "object" | "array" | "mixed" | "file"; role: string; unit: string | undefined; read: true; write: false; }; native: {}; }' is not assignable to parameter of type '(Omit<StateObject, "_id" | "acl"> & { _id?: string | undefined; acl?: StateACL | undefined; }) | (Omit<ChannelObject, "_id" | "acl"> & { ...; }) | ... 14 more ... | (Omit<...> & { ...; })'.
|
check-and-lint (18.x):
src/controller/handler/bshb-water-alarm-handler.ts#L139
Argument of type '{ type: "state"; common: { name: string; type: "string" | "number" | "boolean" | "object" | "array" | "mixed" | "file"; role: string; read: true; write: boolean; states: string | Record<string, string> | undefined; }; native: {}; }' is not assignable to parameter of type '(Omit<StateObject, "_id" | "acl"> & { _id?: string | undefined; acl?: StateACL | undefined; }) | (Omit<ChannelObject, "_id" | "acl"> & { ...; }) | ... 14 more ... | (Omit<...> & { ...; })'.
|
check-and-lint (18.x)
Process completed with exit code 2.
|