GoogleHomeTypes

The following declarations are provided by module GoogleHomeTypes.

  • Namespace for all Matter Traits and DeviceTypes.

    Declaration

    Swift

    enum Matter
  • Generated struct for the Occupancy Sensor Device Type.

    A measurement and sensing device that is capable of measuring and reporting the occupancy state in a designated area.

    Declaration

    Swift

    struct OccupancySensorDeviceType
  • Generated struct for the Door Lock Device Type.

    A device used to secure a door, which can be actuated either by means of a manual or a remote method.

    Declaration

    Swift

    struct DoorLockDeviceType
  • Generated struct for the Temperature Sensor Device Type.

    A device that reports measurements of temperature.

    Declaration

    Swift

    struct TemperatureSensorDeviceType
  • Generated struct for the Speaker Device Type.

    An audio or video device is capable of having its volume controlled and can be muted or unmuted.

    Declaration

    Swift

    struct SpeakerDeviceType
  • Generated struct for the Window Covering Device Type.

    A device that covers a window and is capable of being raised or tilted.

    Declaration

    Swift

    struct WindowCoveringDeviceType
  • Generated struct for the Window Covering Controller Device Type.

    A device that is capable of controlling an automatic window covering.

    Declaration

    Swift

    struct WindowCoveringControllerDeviceType
  • Generated struct for the Basic Video Player Device Type.

    A device that is able to play media to a physical output or to a display screen which is part of the device. It has basic controls for playback (such as play or pause) and keypad input (up, down, number input).

    Declaration

    Swift

    struct BasicVideoPlayerDeviceType
  • Generated struct for the Color Temperature Light Device Type.

    A lighting device that is capable of being switched on or off, the intensity of its light adjusted, and its color temperature adjusted.

    Declaration

    Swift

    struct ColorTemperatureLightDeviceType
  • Generated struct for the Contact Sensor Device Type.

    A device that detects whether an object, such as a door or window, is opened or closed.

    Declaration

    Swift

    struct ContactSensorDeviceType
  • Generated struct for the Flow Sensor Device Type.

    A device that measures and reports the flow rate of a fluid.

    Declaration

    Swift

    struct FlowSensorDeviceType
  • Generated struct for the Dimmable Plug-In Unit Device Type.

    A device that is capable of being switched on or off and have its level adjusted by means of a bound controller device such as a Dimmer Switch or a Color Dimmer Switch.

    Declaration

    Swift

    struct DimmablePlugInUnitDeviceType
  • Generated struct for the Content App Device Type.

    A device that represents an application built by a content provider.

    Declaration

    Swift

    struct ContentAppDeviceType
  • Generated struct for the Humidity Sensor Device Type.

    A device that reports humidity measurements.

    Declaration

    Swift

    struct HumiditySensorDeviceType
  • Generated struct for the Pressure Sensor Device Type.

    A device that measures and reports the pressure of a fluid.

    Declaration

    Swift

    struct PressureSensorDeviceType
  • Generated struct for the On/Off Plug-in Unit Device Type.

    A device that is capable of being switched on or off by means of a bound controller device such as an On/Off Light Switch or a Dimmer Switch.

    Declaration

    Swift

    struct OnOffPluginUnitDeviceType
  • Generated struct for the Generic Switch Device Type.

    A device that is capable of being switched on or off, either by latching (such as a rocker) or by momentary (such as a push button).

    Declaration

    Swift

    struct GenericSwitchDeviceType
  • Generated struct for the Fan Device Type.

    A device that features a fan and supports multiple modes and variable speed.

    Declaration

    Swift

    struct FanDeviceType
  • Generated struct for the Aggregator Device Type.

    A device that aggregates endpoints as a collection.

    Declaration

    Swift

    struct AggregatorDeviceType
  • Generated struct for the Casting Video Player Device Type.

    A device that is able to play media to a physical output or to a display screen which is part of the device, and is able to launch content. It has basic controls for playback (such as play or pause) and keypad input (up, down, number input).

    Declaration

    Swift

    struct CastingVideoPlayerDeviceType
  • Generated struct for the Dimmable Light Device Type.

    A lighting device that is capable of being switched on or off, the intensity of its light adjusted, and being switched by means of a bound occupancy sensor.

    Declaration

    Swift

    struct DimmableLightDeviceType
  • Generated struct for the Extended Color Light Device Type.

    A lighting device that is capable of being switched on or off, the intensity of its light adjusted, its color temperature adjusted, and being switched by means of a bound occupancy sensor.

    Declaration

    Swift

    struct ExtendedColorLightDeviceType
  • Generated struct for the Pump Device Type.

    A device typically used to pump fluids like water that may have variable speed. It may have optional built-in sensors and a regulation mechanism.

    Declaration

    Swift

    struct PumpDeviceType
  • Generated struct for the Mode Select Device Type.

    A device that can be set to one of several predefined values.

    Declaration

    Swift

    struct ModeSelectDeviceType
  • Generated struct for the Heating/Cooling Unit Device Type.

    A device capable of heating or cooling a space in a home.

    Declaration

    Swift

    struct HeatingCoolingUnitDeviceType
  • Generated struct for the Light Sensor Device Type.

    A measurement and sensing device that is capable of measuring and reporting the intensity of light (illuminance) to which the sensor is being subjected.

    Declaration

    Swift

    struct LightSensorDeviceType
  • Generated struct for the Root Node Device Type.

    A utility device type required for all nodes in a fabric whose main function is to describe the node and what endpoints the node supports.

    Declaration

    Swift

    struct RootNodeDeviceType
  • Generated struct for the Thermostat Device Type.

    A device that is capable of having either built-in or separate sensors for temperature, humidity or occupancy, and allows the desired temperature to be set. A Thermostat is capable of sending heating and/or cooling requirement notifications to a heating/cooling unit (for example, an indoor air handler) or is capable of including a mechanism to control a heating or cooling unit directly.

    Declaration

    Swift

    struct ThermostatDeviceType
  • Generated struct for the On/Off Light Device Type.

    A lighting device that is capable of being switched on or off.

    Declaration

    Swift

    struct OnOffLightDeviceType
  • Generated struct for the Refrigerator Device Type.

    A device containing one or more cabinets capable of chilling or freezing food.

    Declaration

    Swift

    struct RefrigeratorDeviceType
  • Generated struct for the Temperature Controlled Cabinet Device Type.

    A device that represents a single cabinet for chilling or freezing food in a refrigerator, freezer, wine chiller or other similar device.

    Declaration

    Swift

    struct TemperatureControlledCabinetDeviceType
  • Generated struct for the Dishwasher Device Type.

    A device that washes dishes, cutlery, and other items associated with food preparation and consumption.

    Declaration

    Swift

    struct DishwasherDeviceType
  • Generated struct for the Laundry Washer Device Type.

    A device capable of laundering consumer items.

    Declaration

    Swift

    struct LaundryWasherDeviceType
  • Generated struct for the Air Quality Sensor Device Type.

    A device that is able to monitor and measure various parameters related to ambient air quality in indoor and outdoor environments.

    Declaration

    Swift

    struct AirQualitySensorDeviceType
  • Generated struct for the Room Air Conditioner Device Type.

    A device with the primary function of controlling the air temperature in a single room.

    Declaration

    Swift

    struct RoomAirConditionerDeviceType
  • Generated struct for the Robotic Vacuum Cleaner Device Type.

    A device that autonomously cleans floors and carpets by vacuuming dirt and debris.

    Declaration

    Swift

    struct RoboticVacuumCleanerDeviceType
  • Generated struct for the Air Purifier Device Type.

    A device that is designed to clean the air in a room.

    Declaration

    Swift

    struct AirPurifierDeviceType
  • Generated struct for the Control Bridge Device Type.

    A controller device that when bound to a lighting device is capable of being used to switch the device on or off, adjust the intensity of the light, and adjust the color of the light being emitted.

    Declaration

    Swift

    struct ControlBridgeDeviceType
  • Generated struct for the Video Remote Control Device Type.

    A device that can control a video player, for example, a traditional universal remote control.

    Declaration

    Swift

    struct VideoRemoteControlDeviceType
  • Generated struct for the Power Source Device Type.

    A device that provides energy to operate or charge other equipment.

    Declaration

    Swift

    struct PowerSourceDeviceType
  • Generated struct for the Dimmer Switch Device Type.

    A device that is capable of switching a device on or off and controlling the intensity of the light.

    Declaration

    Swift

    struct DimmerSwitchDeviceType
  • Generated struct for the Color Dimmer Switch Device Type.

    A device that is able to control a lighting device by adjusting its color temperature and intensity.

    Declaration

    Swift

    struct ColorDimmerSwitchDeviceType
  • Generated struct for the Pump Controller Device Type.

    A device that is capable of configuring and controlling a pump.

    Declaration

    Swift

    struct PumpControllerDeviceType
  • Generated struct for the Door Lock Controller Device Type.

    A device that is capable of controlling a door lock.

    Declaration

    Swift

    struct DoorLockControllerDeviceType
  • Generated struct for the Energy Evse Device Type.

    A device that is capable of charging an electric or plug-in hybrid vehicle.

    Declaration

    Swift

    struct EnergyEvseDeviceType
  • Generated struct for the Device Energy Management Device Type.

    Declaration

    Swift

    struct DeviceEnergyManagementDeviceType
  • Generated struct for the Electrical Sensor Device Type.

    Declaration

    Swift

    struct ElectricalSensorDeviceType
  • Generated struct for the Casting Video Client Device Type.

    A device that is able to launch content on a remote device, for example, a smart speaker or a content provider’s phone app.

    Declaration

    Swift

    struct CastingVideoClientDeviceType
  • Generated struct for the Water Freeze Detector Device Type.

    A device that reports the potential of water freezing.

    Declaration

    Swift

    struct WaterFreezeDetectorDeviceType
  • Generated struct for the Water Valve Device Type.

    A device that is capable of configuring and controlling the flow of water.

    Declaration

    Swift

    struct WaterValveDeviceType
  • Generated struct for the Water Leak Detector Device Type.

    A device that reports the presence of a water leak.

    Declaration

    Swift

    struct WaterLeakDetectorDeviceType
  • Generated struct for the Rain Sensor Device Type.

    A device that reports the presence of rain.

    Declaration

    Swift

    struct RainSensorDeviceType
  • Generated struct for the On/Off Sensor Device Type.

    A measurement and sensing device that, when bound to a lighting device, is capable of being used to switch the device on or off.

    Declaration

    Swift

    struct OnOffSensorDeviceType
  • Generated struct for the Cook Surface Device Type.

    A device that represents a heating object on a cooking or other similar device.

    Declaration

    Swift

    struct CookSurfaceDeviceType
  • Generated struct for the Cooktop Device Type.

    A device that represents a cooking surface with one or more heating elements.

    Declaration

    Swift

    struct CooktopDeviceType
  • Generated struct for the Microwave Oven Device Type.

    A device that uses microwaves to heat food and beverages.

    Declaration

    Swift

    struct MicrowaveOvenDeviceType
  • Generated struct for the Extractor Hood Device Type.

    A device that that is generally installed above a stove or cooktop to reduce odors and smoke by extracting the air.

    Declaration

    Swift

    struct ExtractorHoodDeviceType
  • Generated struct for the Oven Device Type.

    A device that contains one or more cabinets, and optionally a cooktop, and is capable of heating food.

    Declaration

    Swift

    struct OvenDeviceType
  • Generated struct for the Laundry Dryer Device Type.

    A device capable of drying laundry items.

    Declaration

    Swift

    struct LaundryDryerDeviceType
  • Generated struct for the Google Air Cooler Device Type.

    A device that allows temperature cooling and humidity control. These devices are typically more lightweight and portable than air conditioners, and have a water tank attached. Air coolers may not support heating or setting exact temperatures. Interactions with air coolers may include changing the fan speed and humidity setting.

    Declaration

    Swift

    struct GoogleAirCoolerDeviceType
  • Generated struct for the Google Audio Video Receiver Device Type.

    A device that takes audio input (for example, HDMI, optical, and RCA) and outputs sound to one or more speakers.

    Declaration

    Swift

    struct GoogleAudioVideoReceiverDeviceType
  • Generated struct for the Google Auto Device Type.

    Declaration

    Swift

    struct GoogleAutoDeviceType
  • Generated struct for the Google Bathtub Device Type.

    A device that can be filled and drained, possibly to particular levels if the bathtub supports it.

    Declaration

    Swift

    struct GoogleBathtubDeviceType
  • Generated struct for the Google Blender Device Type.

    A kitchen appliance device used to stir, chop, or mix food. Interactions with blenders may include starting and stopping, setting a timer, setting cooking modes or food presets, or adjusting other various settings.

    Declaration

    Swift

    struct GoogleBlenderDeviceType
  • Generated struct for the Google Boiler Device Type.

    A device consisting of a closed vessel and heat source, in which steam or other vapor is generated from water to supply heat. Boilers can be turned on and off, and may support adjusting temperature.

    Declaration

    Swift

    struct GoogleBoilerDeviceType
  • Generated struct for the Google Charger Device Type.

    A device that charges electrical storage batteries. Interactions with chargers may include starting and stopping charging, and checking the current charge level, capacity remaining, and capacity until full values.

    Declaration

    Swift

    struct GoogleChargerDeviceType
  • Generated struct for the Google Closet Device Type.

    A device consisting of a small enclosed area that is used for storing items. Closets can be opened and closed, potentially in more than one direction.

    Declaration

    Swift

    struct GoogleClosetDeviceType
  • Generated struct for the Google Coffee Maker Device Type.

    A kitchen applicance device that makes coffee. Interactions with coffee makers may include turning them on and off, adjusting cooking modes and food presets, adjusting the target temperature, and adjusting various non-cooking mode settings.

    Declaration

    Swift

    struct GoogleCoffeeMakerDeviceType
  • Generated struct for the Google Control Panel Device Type.

    A device that is capable of configuring and controlling other devices.

    Declaration

    Swift

    struct GoogleControlPanelDeviceType
  • Generated struct for the Google Dehydrator Device Type.

    A kitchen appliance device that is used to dehydrate foods such as fruit and vegetables. Interactions with dehydrators may include starting and stopping, setting a timer, adjusting cooking modes or food presets, or adjusting other various settings.

    Declaration

    Swift

    struct GoogleDehydratorDeviceType
  • Generated struct for the Google Door Device Type.

    A device consisting of a solid, movable barrier that controls access to an entrance, a closet, a cabinet, and so forth. A door can be opened and closed, potentially in more than one direction.

    Declaration

    Swift

    struct GoogleDoorDeviceType
  • Generated struct for the Google Doorbell Device Type.

    A device actuated by a button outside a door that makes an audible and/or visual signal, used to request the attention of a person who is somewhere on the other side of the door. This device may be capable of sending notifications and/or streaming video.

    Declaration

    Swift

    struct GoogleDoorbellDeviceType
  • Generated struct for the Google Drawer Device Type.

    A device consisting of a sliding, lidless, horizontal compartment that may be drawn out from a piece of furniture or a wall in order to gain access to it. Drawers can be opened and closed, potentially in more than one direction.

    Declaration

    Swift

    struct GoogleDrawerDeviceType
  • Generated struct for the Google Faucet Device Type.

    A device that controls the flow of liquid. Faucets can dispense liquids in various quantities and presets. Faucets may have various modes and each mode has its own related settings. These are specific to the faucet and are interpreted in a generalized form.

    Declaration

    Swift

    struct GoogleFaucetDeviceType
  • Generated struct for the Google Freezer Device Type.

    A temperature-managing device which may be adjusted to various mode settings, and may allow temperature monitoring.

    Declaration

    Swift

    struct GoogleFreezerDeviceType
  • Generated struct for the Google Fryer Device Type.

    A kitchen appliance device that cooks food by frying it. Interactions with fryers may include starting and stopping, setting a timer, adjusting cooking modes or food presets, or adjusting other various settings.

    Declaration

    Swift

    struct GoogleFryerDeviceType
  • Generated struct for the Google Game Console Device Type.

    A device used to manage and play video games. Interactions with game consoles include playing games and operating device controls.

    Declaration

    Swift

    struct GoogleGameConsoleDeviceType
  • Generated struct for the Google Garage Device Type.

    A device consisting of a solid, movable barrier that controls access to a garage. Garage doors can open, close, and detect an open state. They can also indicate if an object has obstructed the path of the door while closing or if the door is locked and therefore cannot be controlled.

    Declaration

    Swift

    struct GoogleGarageDeviceType
  • Generated struct for the Google Gate Device Type.

    A device consisting of a solid, movable barrier that controls access to an outside area through a fence or wall. Gates can be opened and closed, potentially in more than on direction.

    Declaration

    Swift

    struct GoogleGateDeviceType
  • Generated struct for the Google Grill Device Type.

    A device that is used to cook food on a grate by applying direct heat from below. Interactions with grills may include turning them on and off, starting and stopping, setting a timer, adjusting cooking modes and food presets, and adjusting various non-cooking mode settings.

    Declaration

    Swift

    struct GoogleGrillDeviceType
  • Generated struct for the Google Kettle Device Type.

    A device that boils water for use in hot beverages such as tea. Interactions with kettles may include turning them on and off, adjusting the target temperature, and perhaps adjusting various mode settings.

    Declaration

    Swift

    struct GoogleKettleDeviceType
  • Generated struct for the Google Mop Device Type.

    A device that is used to clean floors by dampening and scrubbing them.

    Declaration

    Swift

    struct GoogleMopDeviceType
  • Generated struct for the Google Mower Device Type.

    A device used to trim a lawn to a uniform height. Interactions with mowers may include starting, stopping and pausing mowing, docking, checking the current cycle, locating the mower, and adjusting various modes.

    Declaration

    Swift

    struct GoogleMowerDeviceType
  • Generated struct for the Google Multicooker Device Type.

    A device used to cook food using various methods including slow cooking, sauteing, steaming, or pressure cooking, typically while unattended. Interactions with multicookers may include starting and stopping, setting a timer, or and adjusting non-cooking modes.

    Declaration

    Swift

    struct GoogleMulticookerDeviceType
  • Generated struct for the Google Network Device Type.

    A device representing a group of router nodes or a mesh network controlled as a single entity rather than as individual devices. The network device may reboot, update its software, and have modes to handle Quality of Service (QoS) controls and parental restrictions. The device can perform operations such as enabling the guest network, and reporting network-specific information such as the current internet throughput rates.

    Declaration

    Swift

    struct GoogleNetworkDeviceType
  • Generated struct for the Google Pergola Device Type.

    A device consisting of an arbor formed of horizontal trelliswork supported on columns or posts that can be opened and closed, potentially in more than one direction. For example, some pergolas with a canvas may open either to the LEFT or RIGHT.

    Declaration

    Swift

    struct GooglePergolaDeviceType
  • Generated struct for the Google Pet Feeder Device Type.

    A device that automatically dispenses food to house pets such as cats and dogs. Interactions with pet feeders may include dispensing pet food or water in various quantities and presets.

    Declaration

    Swift

    struct GooglePetFeederDeviceType
  • Generated struct for the Google Pressure Cooker Device Type.

    A kitchen appliance device that cooks food quickly at a high temperature using steam under pressure. Interactions with pressure cookers may include starting and stopping, setting a timer, adjusting cooking modes or food presets, or adjusting other various settings.

    Declaration

    Swift

    struct GooglePressureCookerDeviceType
  • Generated struct for the Google Router Device Type.

    A network device that controls network traffic between two or more different networks. Routers can reboot, update their software, have modes to handle Quality of Service (QoS) controls and parental restrictions, and perform network specific operations (such as enabling the guest network and reporting network specific information such as the current internet throughput rates).

    Declaration

    Swift

    struct GoogleRouterDeviceType
  • Generated struct for the Google Security System Device Type.

    A device that monitors one or more sensors in a building and can raise an alert if a sensor detects unexpected activity. Security systems can be armed and disarmed. They can be armed at multiple security levels (for example, Home and Away) and they can report information about certain sensors, such as a sensor that detects motion or an open window.

    Declaration

    Swift

    struct GoogleSecuritySystemDeviceType
  • Generated struct for the Google Set Top Box Device Type.

    A device connected to a TV that is used to access digital video channels. Interactions with Multichannel Video Programming Distributor (MVPD) and set-top-box devices may include controlling media playback.

    Declaration

    Swift

    struct GoogleSetTopBoxDeviceType
  • Generated struct for the Google Shower Device Type.

    A device consisting of an area where water is sprayed on the body for the purpse of washing. Showers can be turned on and off and may support adjusting temperature.

    Declaration

    Swift

    struct GoogleShowerDeviceType
  • Generated struct for the Google Soundbar Device Type.

    An all-in-one audio device that is often used in conjunction with a TV and has a bar form factor.

    Declaration

    Swift

    struct GoogleSoundbarDeviceType
  • Generated struct for the Google Sous Vide Device Type.

    A kitchen appliance device used to cook foods in a vacuum at comparatively low temperatures. Interactions with sous vides may include starting and stopping, setting a timer, adjusting cooking modes or food presets, or adjusting other various settings.

    Declaration

    Swift

    struct GoogleSousVideDeviceType
  • Generated struct for the Google Sprinkler Device Type.

    A device used to distribute water evenly across an area such as a garden. Sprinklers can start and stop (or turn on and off). They may also support timers and/or schedules.

    Declaration

    Swift

    struct GoogleSprinklerDeviceType
  • Generated struct for the Google Standmixer Device Type.

    A kitchen appliance device used to blend dry and liquid ingredients to make batter or dough. Interactions with stand mixers may include turning mixers on and off, starting and stopping the mixer, adjusting cooking modes or food presets, or adjusting various non-cooking mode settings.

    Declaration

    Swift

    struct GoogleStandmixerDeviceType
  • Generated struct for the Google Streaming Box Device Type.

    A device connected to a TV that is used to access digital streaming services for media and music, often used in conjunction with a display such as a TV.

    Declaration

    Swift

    struct GoogleStreamingBoxDeviceType
  • Generated struct for the Google Streaming Soundbar Device Type.

    A device consisting of a combination of speaker and streaming stick or box that provides a streaming experience in addition to soundbar capabilities.

    Declaration

    Swift

    struct GoogleStreamingSoundbarDeviceType
  • Generated struct for the Google Streaming Stick Device Type.

    A device having a small stick-like form factor, usually powered by a USB or HDMI cable, that is connected to a display such as a TV and is used to access digital streaming services for media and music.

    Declaration

    Swift

    struct GoogleStreamingStickDeviceType
  • Generated struct for the Google TV Device Type.

    A device that combines a tuner, display, and loudspeakers for the purpose of viewing and hearing media.

    Declaration

    Swift

    struct GoogleTVDeviceType
  • Generated struct for the Google Water Purifier Device Type.

    A device that filters and purifies water.

    Declaration

    Swift

    struct GoogleWaterPurifierDeviceType
  • Generated struct for the Google Water Softener Device Type.

    A device that removes minerals from water.

    Declaration

    Swift

    struct GoogleWaterSoftenerDeviceType
  • Generated struct for the Google Window Device Type.

    A transparent device that allows light into a structure. Windows can be opened and closed, optionally with sections that open in different directions, and may also be locked and unlocked.

    Declaration

    Swift

    struct GoogleWindowDeviceType
  • Generated struct for the Google Yogurtmaker Device Type.

    A kitchen appliance device that makes yogurt. Interactions with yogurt makers may include starting and stopping, setting a timer, adjusting cooking modes or food presets, or adjusting other various settings.

    Declaration

    Swift

    struct GoogleYogurtmakerDeviceType
  • Namespace for all Google Traits and DeviceTypes.

    Declaration

    Swift

    enum Google
  • Declaration

    Swift

    extension TypedExpression where V == LocalDate
  • Declaration

    Swift

    extension TypedReference where N : NodeWithOutput, T == Google.TimeTrait