ExtendedThermostatTrait.TimeOfDay

class ExtendedThermostatTrait.TimeOfDay : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

TimeOfDay(hour: UShort, minute: UShort?, second: UShort?)

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

UShort
UShort?
UShort?

Public constructors

TimeOfDay

TimeOfDay(hour: UShort, minute: UShort? = null, second: UShort? = null)

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

hour

val hourUShort

minute

val minuteUShort?

second

val secondUShort?