/* tslint:disable */ // This file was automatically generated and should not be edited. export type CreateHomeInput = { id?: string | null, name: string, locationLat?: number | null, locationLon?: number | null, owner?: string | null, members?: Array< string | null > | null, }; export enum AutomationType { clock = "clock", sunrise = "sunrise", sunset = "sunset", } export enum GatewayCommandType { activateScene = "activateScene", setPositions = "setPositions", setScene = "setScene", } export enum GatewayCommandState { requested = "requested", inProgress = "inProgress", completed = "completed", failed = "failed", } export type UpdateHomeInput = { id: string, name?: string | null, locationLat?: number | null, locationLon?: number | null, owner?: string | null, members?: Array< string | null > | null, }; export type DeleteHomeInput = { id?: string | null, }; export type CreateGatewayInput = { id?: string | null, name?: string | null, ipAddress?: string | null, serialNumber?: string | null, macAddress1?: string | null, macAddress2?: string | null, ssid?: string | null, gatewayHomeId?: string | null, }; export type UpdateGatewayInput = { id: string, name?: string | null, ipAddress?: string | null, serialNumber?: string | null, macAddress1?: string | null, macAddress2?: string | null, ssid?: string | null, gatewayHomeId?: string | null, }; export type DeleteGatewayInput = { id?: string | null, }; export type CreateRoomInput = { id?: string | null, name: string, theme?: ThemeInput | null, owner?: string | null, members?: Array< string | null > | null, roomHomeId?: string | null, }; export type ThemeInput = { iconName?: string | null, primaryColor?: string | null, }; export type UpdateRoomInput = { id: string, name?: string | null, theme?: ThemeInput | null, owner?: string | null, members?: Array< string | null > | null, roomHomeId?: string | null, }; export type DeleteRoomInput = { id?: string | null, }; export type CreateShadeInput = { id?: string | null, mac?: string | null, name: string, displayName?: string | null, modelID?: number | null, capabilities?: number | null, firmwareVersion?: number | null, position?: PositionInput | null, lastTimeClockUpdated?: string | null, ledEnabled?: boolean | null, resetRequested?: boolean | null, batteryLevel?: number | null, owner?: string | null, members?: Array< string | null > | null, shadeHomeId?: string | null, shadeRoomId?: string | null, }; export type PositionInput = { servo1?: number | null, servo2?: number | null, servo3?: number | null, tilt?: number | null, velocity?: number | null, }; export enum RemoteGroupSlot { group1 = "group1", group2 = "group2", group3 = "group3", group4 = "group4", group5 = "group5", group6 = "group6", } export type UpdateShadeInput = { id: string, mac?: string | null, name?: string | null, displayName?: string | null, modelID?: number | null, capabilities?: number | null, firmwareVersion?: number | null, position?: PositionInput | null, lastTimeClockUpdated?: string | null, ledEnabled?: boolean | null, resetRequested?: boolean | null, batteryLevel?: number | null, owner?: string | null, members?: Array< string | null > | null, shadeHomeId?: string | null, shadeRoomId?: string | null, }; export type DeleteShadeInput = { id?: string | null, }; export type CreateSceneInput = { id?: string | null, name: string, theme?: ThemeInput | null, owner?: string | null, members?: Array< string | null > | null, sceneHomeId?: string | null, }; export type UpdateSceneInput = { id: string, name?: string | null, theme?: ThemeInput | null, owner?: string | null, members?: Array< string | null > | null, sceneHomeId?: string | null, }; export type DeleteSceneInput = { id?: string | null, }; export type CreateSceneActionInput = { id?: string | null, position: PositionInput, sceneActionSceneId: string, sceneActionShadeId: string, }; export type UpdateSceneActionInput = { id: string, position?: PositionInput | null, sceneActionSceneId?: string | null, sceneActionShadeId?: string | null, }; export type DeleteSceneActionInput = { id?: string | null, }; export type CreateAutomationInput = { id?: string | null, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour?: number | null, minute?: number | null, sunriseSunsetOffset?: number | null, owner?: string | null, members?: Array< string | null > | null, automationHomeId?: string | null, automationSceneId?: string | null, }; export type UpdateAutomationInput = { id: string, type?: AutomationType | null, enabled?: boolean | null, dayOfWeekBitmask?: number | null, hour?: number | null, minute?: number | null, sunriseSunsetOffset?: number | null, owner?: string | null, members?: Array< string | null > | null, automationHomeId?: string | null, automationSceneId?: string | null, }; export type DeleteAutomationInput = { id?: string | null, }; export type CreateRemoteInput = { id?: string | null, name: string, owner?: string | null, members?: Array< string | null > | null, remoteHomeId?: string | null, remoteRoomId?: string | null, }; export type UpdateRemoteInput = { id: string, name?: string | null, owner?: string | null, members?: Array< string | null > | null, remoteHomeId?: string | null, remoteRoomId?: string | null, }; export type DeleteRemoteInput = { id?: string | null, }; export type CreateRemoteGroupInput = { id?: string | null, groupSlot: RemoteGroupSlot, remoteGroupRemoteId: string, remoteGroupShadeId: string, }; export type UpdateRemoteGroupInput = { id: string, groupSlot?: RemoteGroupSlot | null, remoteGroupRemoteId?: string | null, remoteGroupShadeId?: string | null, }; export type DeleteRemoteGroupInput = { id?: string | null, }; export type CreateGatewayCommandInput = { id?: string | null, owner?: string | null, initiaterName?: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError?: number | null, activateScene?: GatewayCommandActivateSceneInput | null, setPositions?: GatewayCommandSetPositionsInput | null, setScene?: GatewayCommandSetSceneInput | null, gatewayCommandHomeId?: string | null, }; export type GatewayCommandActivateSceneInput = { sceneId: string, }; export type GatewayCommandSetPositionsInput = { shadeMacs: Array< string | null >, positions: Array< PositionInput | null >, }; export type GatewayCommandSetSceneInput = { change: GatewayCommandChange, shadeMac: string, sceneId: string, position?: PositionInput | null, }; export enum GatewayCommandChange { create = "create", update = "update", delete = "delete", } export type UpdateGatewayCommandInput = { id: string, owner?: string | null, initiaterName?: string | null, createdAt?: string | null, commandType?: GatewayCommandType | null, commandState?: GatewayCommandState | null, commandError?: number | null, activateScene?: GatewayCommandActivateSceneInput | null, setPositions?: GatewayCommandSetPositionsInput | null, setScene?: GatewayCommandSetSceneInput | null, gatewayCommandHomeId?: string | null, }; export type DeleteGatewayCommandInput = { id?: string | null, }; export type ModelHomeFilterInput = { id?: ModelIDFilterInput | null, name?: ModelStringFilterInput | null, locationLat?: ModelFloatFilterInput | null, locationLon?: ModelFloatFilterInput | null, owner?: ModelStringFilterInput | null, members?: ModelStringFilterInput | null, and?: Array< ModelHomeFilterInput | null > | null, or?: Array< ModelHomeFilterInput | null > | null, not?: ModelHomeFilterInput | null, }; export type ModelIDFilterInput = { ne?: string | null, eq?: string | null, le?: string | null, lt?: string | null, ge?: string | null, gt?: string | null, contains?: string | null, notContains?: string | null, between?: Array< string | null > | null, beginsWith?: string | null, }; export type ModelStringFilterInput = { ne?: string | null, eq?: string | null, le?: string | null, lt?: string | null, ge?: string | null, gt?: string | null, contains?: string | null, notContains?: string | null, between?: Array< string | null > | null, beginsWith?: string | null, }; export type ModelFloatFilterInput = { ne?: number | null, eq?: number | null, le?: number | null, lt?: number | null, ge?: number | null, gt?: number | null, contains?: number | null, notContains?: number | null, between?: Array< number | null > | null, }; export type ModelGatewayFilterInput = { id?: ModelIDFilterInput | null, name?: ModelStringFilterInput | null, ipAddress?: ModelStringFilterInput | null, serialNumber?: ModelStringFilterInput | null, macAddress1?: ModelStringFilterInput | null, macAddress2?: ModelStringFilterInput | null, ssid?: ModelStringFilterInput | null, and?: Array< ModelGatewayFilterInput | null > | null, or?: Array< ModelGatewayFilterInput | null > | null, not?: ModelGatewayFilterInput | null, }; export type ModelRoomFilterInput = { id?: ModelIDFilterInput | null, name?: ModelStringFilterInput | null, owner?: ModelStringFilterInput | null, members?: ModelStringFilterInput | null, and?: Array< ModelRoomFilterInput | null > | null, or?: Array< ModelRoomFilterInput | null > | null, not?: ModelRoomFilterInput | null, }; export type ModelShadeFilterInput = { id?: ModelIDFilterInput | null, mac?: ModelStringFilterInput | null, name?: ModelStringFilterInput | null, displayName?: ModelStringFilterInput | null, modelID?: ModelIntFilterInput | null, capabilities?: ModelIntFilterInput | null, firmwareVersion?: ModelIntFilterInput | null, lastTimeClockUpdated?: ModelStringFilterInput | null, ledEnabled?: ModelBooleanFilterInput | null, resetRequested?: ModelBooleanFilterInput | null, batteryLevel?: ModelIntFilterInput | null, owner?: ModelStringFilterInput | null, members?: ModelStringFilterInput | null, and?: Array< ModelShadeFilterInput | null > | null, or?: Array< ModelShadeFilterInput | null > | null, not?: ModelShadeFilterInput | null, }; export type ModelIntFilterInput = { ne?: number | null, eq?: number | null, le?: number | null, lt?: number | null, ge?: number | null, gt?: number | null, contains?: number | null, notContains?: number | null, between?: Array< number | null > | null, }; export type ModelBooleanFilterInput = { ne?: boolean | null, eq?: boolean | null, }; export type ModelSceneFilterInput = { id?: ModelIDFilterInput | null, name?: ModelStringFilterInput | null, owner?: ModelStringFilterInput | null, members?: ModelStringFilterInput | null, and?: Array< ModelSceneFilterInput | null > | null, or?: Array< ModelSceneFilterInput | null > | null, not?: ModelSceneFilterInput | null, }; export type ModelSceneActionFilterInput = { id?: ModelIDFilterInput | null, and?: Array< ModelSceneActionFilterInput | null > | null, or?: Array< ModelSceneActionFilterInput | null > | null, not?: ModelSceneActionFilterInput | null, }; export type ModelAutomationFilterInput = { id?: ModelIDFilterInput | null, type?: ModelAutomationTypeFilterInput | null, enabled?: ModelBooleanFilterInput | null, dayOfWeekBitmask?: ModelIntFilterInput | null, hour?: ModelIntFilterInput | null, minute?: ModelIntFilterInput | null, sunriseSunsetOffset?: ModelIntFilterInput | null, owner?: ModelStringFilterInput | null, members?: ModelStringFilterInput | null, and?: Array< ModelAutomationFilterInput | null > | null, or?: Array< ModelAutomationFilterInput | null > | null, not?: ModelAutomationFilterInput | null, }; export type ModelAutomationTypeFilterInput = { eq?: AutomationType | null, ne?: AutomationType | null, }; export type ModelRemoteFilterInput = { id?: ModelIDFilterInput | null, name?: ModelStringFilterInput | null, owner?: ModelStringFilterInput | null, members?: ModelStringFilterInput | null, and?: Array< ModelRemoteFilterInput | null > | null, or?: Array< ModelRemoteFilterInput | null > | null, not?: ModelRemoteFilterInput | null, }; export type ModelRemoteGroupFilterInput = { id?: ModelIDFilterInput | null, groupSlot?: ModelRemoteGroupSlotFilterInput | null, and?: Array< ModelRemoteGroupFilterInput | null > | null, or?: Array< ModelRemoteGroupFilterInput | null > | null, not?: ModelRemoteGroupFilterInput | null, }; export type ModelRemoteGroupSlotFilterInput = { eq?: RemoteGroupSlot | null, ne?: RemoteGroupSlot | null, }; export type ModelGatewayCommandFilterInput = { id?: ModelIDFilterInput | null, owner?: ModelStringFilterInput | null, initiaterName?: ModelStringFilterInput | null, createdAt?: ModelStringFilterInput | null, commandType?: ModelGatewayCommandTypeFilterInput | null, commandState?: ModelGatewayCommandStateFilterInput | null, commandError?: ModelIntFilterInput | null, and?: Array< ModelGatewayCommandFilterInput | null > | null, or?: Array< ModelGatewayCommandFilterInput | null > | null, not?: ModelGatewayCommandFilterInput | null, }; export type ModelGatewayCommandTypeFilterInput = { eq?: GatewayCommandType | null, ne?: GatewayCommandType | null, }; export type ModelGatewayCommandStateFilterInput = { eq?: GatewayCommandState | null, ne?: GatewayCommandState | null, }; export type CreateHomeMutationVariables = { input: CreateHomeInput, }; export type CreateHomeMutation = { createHome: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", items: Array< { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", items: Array< { __typename: "Scene", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", items: Array< { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, } | null > | null, nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", items: Array< { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type UpdateHomeMutationVariables = { input: UpdateHomeInput, }; export type UpdateHomeMutation = { updateHome: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", items: Array< { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", items: Array< { __typename: "Scene", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", items: Array< { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, } | null > | null, nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", items: Array< { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type DeleteHomeMutationVariables = { input: DeleteHomeInput, }; export type DeleteHomeMutation = { deleteHome: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", items: Array< { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", items: Array< { __typename: "Scene", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", items: Array< { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, } | null > | null, nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", items: Array< { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type CreateGatewayMutationVariables = { input: CreateGatewayInput, }; export type CreateGatewayMutation = { createGateway: { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, } | null, }; export type UpdateGatewayMutationVariables = { input: UpdateGatewayInput, }; export type UpdateGatewayMutation = { updateGateway: { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, } | null, }; export type DeleteGatewayMutationVariables = { input: DeleteGatewayInput, }; export type DeleteGatewayMutation = { deleteGateway: { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, } | null, }; export type CreateRoomMutationVariables = { input: CreateRoomInput, }; export type CreateRoomMutation = { createRoom: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type UpdateRoomMutationVariables = { input: UpdateRoomInput, }; export type UpdateRoomMutation = { updateRoom: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type DeleteRoomMutationVariables = { input: DeleteRoomInput, }; export type DeleteRoomMutation = { deleteRoom: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type CreateShadeMutationVariables = { input: CreateShadeInput, }; export type CreateShadeMutation = { createShade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type UpdateShadeMutationVariables = { input: UpdateShadeInput, }; export type UpdateShadeMutation = { updateShade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type DeleteShadeMutationVariables = { input: DeleteShadeInput, }; export type DeleteShadeMutation = { deleteShade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type CreateSceneMutationVariables = { input: CreateSceneInput, }; export type CreateSceneMutation = { createScene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, actions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type UpdateSceneMutationVariables = { input: UpdateSceneInput, }; export type UpdateSceneMutation = { updateScene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, actions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type DeleteSceneMutationVariables = { input: DeleteSceneInput, }; export type DeleteSceneMutation = { deleteScene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, actions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type CreateSceneActionMutationVariables = { input: CreateSceneActionInput, }; export type CreateSceneActionMutation = { createSceneAction: { __typename: "SceneAction", id: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, }, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type UpdateSceneActionMutationVariables = { input: UpdateSceneActionInput, }; export type UpdateSceneActionMutation = { updateSceneAction: { __typename: "SceneAction", id: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, }, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type DeleteSceneActionMutationVariables = { input: DeleteSceneActionInput, }; export type DeleteSceneActionMutation = { deleteSceneAction: { __typename: "SceneAction", id: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, }, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type CreateAutomationMutationVariables = { input: CreateAutomationInput, }; export type CreateAutomationMutation = { createAutomation: { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, } | null, } | null, }; export type UpdateAutomationMutationVariables = { input: UpdateAutomationInput, }; export type UpdateAutomationMutation = { updateAutomation: { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, } | null, } | null, }; export type DeleteAutomationMutationVariables = { input: DeleteAutomationInput, }; export type DeleteAutomationMutation = { deleteAutomation: { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, } | null, } | null, }; export type CreateRemoteMutationVariables = { input: CreateRemoteInput, }; export type CreateRemoteMutation = { createRemote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type UpdateRemoteMutationVariables = { input: UpdateRemoteInput, }; export type UpdateRemoteMutation = { updateRemote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type DeleteRemoteMutationVariables = { input: DeleteRemoteInput, }; export type DeleteRemoteMutation = { deleteRemote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type CreateRemoteGroupMutationVariables = { input: CreateRemoteGroupInput, }; export type CreateRemoteGroupMutation = { createRemoteGroup: { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, remote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type UpdateRemoteGroupMutationVariables = { input: UpdateRemoteGroupInput, }; export type UpdateRemoteGroupMutation = { updateRemoteGroup: { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, remote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type DeleteRemoteGroupMutationVariables = { input: DeleteRemoteGroupInput, }; export type DeleteRemoteGroupMutation = { deleteRemoteGroup: { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, remote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type CreateGatewayCommandMutationVariables = { input: CreateGatewayCommandInput, }; export type CreateGatewayCommandMutation = { createGatewayCommand: { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, activateScene: { __typename: "GatewayCommandActivateScene", sceneId: string, } | null, setPositions: { __typename: "GatewayCommandSetPositions", shadeMacs: Array< string | null >, positions: Array< { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null >, } | null, setScene: { __typename: "GatewayCommandSetScene", change: GatewayCommandChange, shadeMac: string, sceneId: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, } | null, } | null, }; export type UpdateGatewayCommandMutationVariables = { input: UpdateGatewayCommandInput, }; export type UpdateGatewayCommandMutation = { updateGatewayCommand: { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, activateScene: { __typename: "GatewayCommandActivateScene", sceneId: string, } | null, setPositions: { __typename: "GatewayCommandSetPositions", shadeMacs: Array< string | null >, positions: Array< { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null >, } | null, setScene: { __typename: "GatewayCommandSetScene", change: GatewayCommandChange, shadeMac: string, sceneId: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, } | null, } | null, }; export type DeleteGatewayCommandMutationVariables = { input: DeleteGatewayCommandInput, }; export type DeleteGatewayCommandMutation = { deleteGatewayCommand: { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, activateScene: { __typename: "GatewayCommandActivateScene", sceneId: string, } | null, setPositions: { __typename: "GatewayCommandSetPositions", shadeMacs: Array< string | null >, positions: Array< { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null >, } | null, setScene: { __typename: "GatewayCommandSetScene", change: GatewayCommandChange, shadeMac: string, sceneId: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, } | null, } | null, }; export type GetHomeQueryVariables = { id: string, }; export type GetHomeQuery = { getHome: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", items: Array< { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", items: Array< { __typename: "Scene", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", items: Array< { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, } | null > | null, nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", items: Array< { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type ListHomesQueryVariables = { filter?: ModelHomeFilterInput | null, limit?: number | null, nextToken?: string | null, }; export type ListHomesQuery = { listHomes: { __typename: "ModelHomeConnection", items: Array< { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null > | null, nextToken: string | null, } | null, }; export type GetGatewayQueryVariables = { id: string, }; export type GetGatewayQuery = { getGateway: { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, } | null, }; export type ListGatewaysQueryVariables = { filter?: ModelGatewayFilterInput | null, limit?: number | null, nextToken?: string | null, }; export type ListGatewaysQuery = { listGateways: { __typename: "ModelGatewayConnection", items: Array< { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, } | null > | null, nextToken: string | null, } | null, }; export type GetRoomQueryVariables = { id: string, }; export type GetRoomQuery = { getRoom: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type ListRoomsQueryVariables = { filter?: ModelRoomFilterInput | null, limit?: number | null, nextToken?: string | null, }; export type ListRoomsQuery = { listRooms: { __typename: "ModelRoomConnection", items: Array< { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null > | null, nextToken: string | null, } | null, }; export type GetShadeQueryVariables = { id: string, }; export type GetShadeQuery = { getShade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type ListShadesQueryVariables = { filter?: ModelShadeFilterInput | null, limit?: number | null, nextToken?: string | null, }; export type ListShadesQuery = { listShades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, } | null > | null, nextToken: string | null, } | null, }; export type GetSceneQueryVariables = { id: string, }; export type GetSceneQuery = { getScene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, actions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type ListScenesQueryVariables = { filter?: ModelSceneFilterInput | null, limit?: number | null, nextToken?: string | null, }; export type ListScenesQuery = { listScenes: { __typename: "ModelSceneConnection", items: Array< { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, } | null > | null, nextToken: string | null, } | null, }; export type GetSceneActionQueryVariables = { id: string, }; export type GetSceneActionQuery = { getSceneAction: { __typename: "SceneAction", id: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, }, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type ListSceneActionsQueryVariables = { filter?: ModelSceneActionFilterInput | null, limit?: number | null, nextToken?: string | null, }; export type ListSceneActionsQuery = { listSceneActions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, }, scene: { __typename: "Scene", id: string, name: string, owner: string | null, members: Array< string | null > | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, }, } | null > | null, nextToken: string | null, } | null, }; export type GetAutomationQueryVariables = { id: string, }; export type GetAutomationQuery = { getAutomation: { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, } | null, } | null, }; export type ListAutomationsQueryVariables = { filter?: ModelAutomationFilterInput | null, limit?: number | null, nextToken?: string | null, }; export type ListAutomationsQuery = { listAutomations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, scene: { __typename: "Scene", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, } | null > | null, nextToken: string | null, } | null, }; export type GetRemoteQueryVariables = { id: string, }; export type GetRemoteQuery = { getRemote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type ListRemotesQueryVariables = { filter?: ModelRemoteFilterInput | null, limit?: number | null, nextToken?: string | null, }; export type ListRemotesQuery = { listRemotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, } | null > | null, nextToken: string | null, } | null, }; export type GetRemoteGroupQueryVariables = { id: string, }; export type GetRemoteGroupQuery = { getRemoteGroup: { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, remote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type ListRemoteGroupsQueryVariables = { filter?: ModelRemoteGroupFilterInput | null, limit?: number | null, nextToken?: string | null, }; export type ListRemoteGroupsQuery = { listRemoteGroups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, remote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, }, } | null > | null, nextToken: string | null, } | null, }; export type GetGatewayCommandQueryVariables = { id: string, }; export type GetGatewayCommandQuery = { getGatewayCommand: { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, activateScene: { __typename: "GatewayCommandActivateScene", sceneId: string, } | null, setPositions: { __typename: "GatewayCommandSetPositions", shadeMacs: Array< string | null >, positions: Array< { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null >, } | null, setScene: { __typename: "GatewayCommandSetScene", change: GatewayCommandChange, shadeMac: string, sceneId: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, } | null, } | null, }; export type ListGatewayCommandsQueryVariables = { filter?: ModelGatewayCommandFilterInput | null, limit?: number | null, nextToken?: string | null, }; export type ListGatewayCommandsQuery = { listGatewayCommands: { __typename: "ModelGatewayCommandConnection", items: Array< { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, activateScene: { __typename: "GatewayCommandActivateScene", sceneId: string, } | null, setPositions: { __typename: "GatewayCommandSetPositions", shadeMacs: Array< string | null >, } | null, setScene: { __typename: "GatewayCommandSetScene", change: GatewayCommandChange, shadeMac: string, sceneId: string, } | null, } | null > | null, nextToken: string | null, } | null, }; export type OnCreateHomeSubscription = { onCreateHome: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", items: Array< { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", items: Array< { __typename: "Scene", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", items: Array< { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, } | null > | null, nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", items: Array< { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnUpdateHomeSubscription = { onUpdateHome: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", items: Array< { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", items: Array< { __typename: "Scene", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", items: Array< { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, } | null > | null, nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", items: Array< { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnDeleteHomeSubscription = { onDeleteHome: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", items: Array< { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", items: Array< { __typename: "Scene", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", items: Array< { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, } | null > | null, nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", items: Array< { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnCreateGatewaySubscription = { onCreateGateway: { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, } | null, }; export type OnUpdateGatewaySubscription = { onUpdateGateway: { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, } | null, }; export type OnDeleteGatewaySubscription = { onDeleteGateway: { __typename: "Gateway", id: string, name: string | null, ipAddress: string | null, serialNumber: string | null, macAddress1: string | null, macAddress2: string | null, ssid: string | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, } | null, }; export type OnCreateRoomSubscription = { onCreateRoom: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnUpdateRoomSubscription = { onUpdateRoom: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnDeleteRoomSubscription = { onDeleteRoom: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, shades: { __typename: "ModelShadeConnection", items: Array< { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", items: Array< { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnCreateShadeSubscription = { onCreateShade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnUpdateShadeSubscription = { onUpdateShade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnDeleteShadeSubscription = { onDeleteShade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnCreateSceneSubscription = { onCreateScene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, actions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnUpdateSceneSubscription = { onUpdateScene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, actions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnDeleteSceneSubscription = { onDeleteScene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, actions: { __typename: "ModelSceneActionConnection", items: Array< { __typename: "SceneAction", id: string, } | null > | null, nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", items: Array< { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnCreateSceneActionSubscription = { onCreateSceneAction: { __typename: "SceneAction", id: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, }, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type OnUpdateSceneActionSubscription = { onUpdateSceneAction: { __typename: "SceneAction", id: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, }, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type OnDeleteSceneActionSubscription = { onDeleteSceneAction: { __typename: "SceneAction", id: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, }, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type OnCreateAutomationSubscription = { onCreateAutomation: { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, } | null, } | null, }; export type OnUpdateAutomationSubscription = { onUpdateAutomation: { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, } | null, } | null, }; export type OnDeleteAutomationSubscription = { onDeleteAutomation: { __typename: "Automation", id: string, type: AutomationType, enabled: boolean, dayOfWeekBitmask: number, hour: number | null, minute: number | null, sunriseSunsetOffset: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, scene: { __typename: "Scene", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, actions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, } | null, } | null, }; export type OnCreateRemoteSubscription = { onCreateRemote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnUpdateRemoteSubscription = { onUpdateRemote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnDeleteRemoteSubscription = { onDeleteRemote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, room: { __typename: "Room", id: string, name: string, theme: { __typename: "Theme", iconName: string | null, primaryColor: string | null, } | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", items: Array< { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, } | null > | null, nextToken: string | null, } | null, } | null, }; export type OnCreateRemoteGroupSubscription = { onCreateRemoteGroup: { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, remote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type OnUpdateRemoteGroupSubscription = { onUpdateRemoteGroup: { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, remote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type OnDeleteRemoteGroupSubscription = { onDeleteRemoteGroup: { __typename: "RemoteGroup", id: string, groupSlot: RemoteGroupSlot, remote: { __typename: "Remote", id: string, name: string, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, groups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, shade: { __typename: "Shade", id: string, mac: string | null, name: string, displayName: string | null, modelID: number | null, capabilities: number | null, firmwareVersion: number | null, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, lastTimeClockUpdated: string | null, ledEnabled: boolean | null, resetRequested: boolean | null, batteryLevel: number | null, owner: string | null, members: Array< string | null > | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, } | null, room: { __typename: "Room", id: string, name: string, owner: string | null, members: Array< string | null > | null, } | null, sceneActions: { __typename: "ModelSceneActionConnection", nextToken: string | null, } | null, remoteGroups: { __typename: "ModelRemoteGroupConnection", nextToken: string | null, } | null, }, } | null, }; export type OnCreateGatewayCommandSubscription = { onCreateGatewayCommand: { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, activateScene: { __typename: "GatewayCommandActivateScene", sceneId: string, } | null, setPositions: { __typename: "GatewayCommandSetPositions", shadeMacs: Array< string | null >, positions: Array< { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null >, } | null, setScene: { __typename: "GatewayCommandSetScene", change: GatewayCommandChange, shadeMac: string, sceneId: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, } | null, } | null, }; export type OnUpdateGatewayCommandSubscription = { onUpdateGatewayCommand: { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, activateScene: { __typename: "GatewayCommandActivateScene", sceneId: string, } | null, setPositions: { __typename: "GatewayCommandSetPositions", shadeMacs: Array< string | null >, positions: Array< { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null >, } | null, setScene: { __typename: "GatewayCommandSetScene", change: GatewayCommandChange, shadeMac: string, sceneId: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, } | null, } | null, }; export type OnDeleteGatewayCommandSubscription = { onDeleteGatewayCommand: { __typename: "GatewayCommand", id: string, owner: string | null, initiaterName: string | null, createdAt: string, commandType: GatewayCommandType, commandState: GatewayCommandState, commandError: number | null, home: { __typename: "Home", id: string, name: string, locationLat: number | null, locationLon: number | null, owner: string | null, members: Array< string | null > | null, rooms: { __typename: "ModelRoomConnection", nextToken: string | null, } | null, shades: { __typename: "ModelShadeConnection", nextToken: string | null, } | null, scenes: { __typename: "ModelSceneConnection", nextToken: string | null, } | null, automations: { __typename: "ModelAutomationConnection", nextToken: string | null, } | null, remotes: { __typename: "ModelRemoteConnection", nextToken: string | null, } | null, commands: { __typename: "ModelGatewayCommandConnection", nextToken: string | null, } | null, gateways: { __typename: "ModelGatewayConnection", nextToken: string | null, } | null, } | null, activateScene: { __typename: "GatewayCommandActivateScene", sceneId: string, } | null, setPositions: { __typename: "GatewayCommandSetPositions", shadeMacs: Array< string | null >, positions: Array< { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null >, } | null, setScene: { __typename: "GatewayCommandSetScene", change: GatewayCommandChange, shadeMac: string, sceneId: string, position: { __typename: "Position", servo1: number | null, servo2: number | null, servo3: number | null, tilt: number | null, velocity: number | null, } | null, } | null, } | null, };