GoogleAutoDevice.GoogleTraits

class GoogleAutoDevice.GoogleTraits


Trait Container for Google Traits.

Summary

Public constructors

GoogleTraits(
    lockUnlock: LockUnlock?,
    extendedOperationalState: ExtendedOperationalState?,
    extendedPowerSource: ExtendedPowerSource?,
    toggles: Toggles?,
    extendedModeSelect: ExtendedModeSelect?
)

Public properties

ExtendedModeSelect?
ExtendedOperationalState?

This trait represents any device that supports operating in specific zones, and has an ongoing duration for its operation which can be queried.

ExtendedPowerSource?

This trait belongs to devices which have a power source.

LockUnlock?

This trait belongs to any devices that support locking and unlocking, or reporting a locked state, except door locks, which are covered by the Matter standard DoorLock cluster.

Toggles?

This trait belongs to any devices with settings that can only exist in one of two states and provides an interface to a toggle switch that can be turned on or off.

Public constructors

GoogleTraits

GoogleTraits(
    lockUnlock: LockUnlock?,
    extendedOperationalState: ExtendedOperationalState?,
    extendedPowerSource: ExtendedPowerSource?,
    toggles: Toggles?,
    extendedModeSelect: ExtendedModeSelect?
)

Public properties

extendedModeSelect

val extendedModeSelectExtendedModeSelect?

extendedOperationalState

val extendedOperationalStateExtendedOperationalState?

This trait represents any device that supports operating in specific zones, and has an ongoing duration for its operation which can be queried.

extendedPowerSource

val extendedPowerSourceExtendedPowerSource?

This trait belongs to devices which have a power source.

lockUnlock

val lockUnlockLockUnlock?

This trait belongs to any devices that support locking and unlocking, or reporting a locked state, except door locks, which are covered by the Matter standard DoorLock cluster.

toggles

val togglesToggles?

This trait belongs to any devices with settings that can only exist in one of two states and provides an interface to a toggle switch that can be turned on or off.