struct GoogleMopMatterTraitsTrait Container for GoogleMopDeviceType Matter Traits.
-
This trait supports remote monitoring and allows the operational state of any device to be changed provided that a state machine is part of the operation.
Declaration
Swift
let operationalStateTrait: Matter.OperationalStateTrait? -
This trait provides an interface to devices that provide power to other devices.
Declaration
Swift
let powerSourceTrait: Matter.PowerSourceTrait? -
This trait provides an interface for turning devices on and off.
Declaration
Swift
let onOffTrait: Matter.OnOffTrait?