Type aliases
DeviceCommand
DeviceCommand: PhysicalCommand | InfraredCommand
DeviceStatus
DeviceStatus: DeviceStatusGeneric | BotOrPlugStatus | HumidifierStatus | MeterStatus | CurtainStatus | SmartFanStatus
PostResponseBody
PostResponseBody: Record<string, never>
Response
Response<T>
: ResponseSuccess<T> | ResponseUnauthorized | ResponseSystemError | (T extends PostResponseBody ? { body
: T; message
: string; statusCode
: 151 | 152 | 161 | 171 } | { body
: T; message
: "No this command"; statusCode
: 160 } : never)
Type parameters