ThermostatFanControlTrait.SetFanScheduleCommand.Request

class ThermostatFanControlTrait.SetFanScheduleCommand.Request : ClusterStruct


Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(
    start_time_seconds_from_midnight: UInt,
    end_time_seconds_from_midnight: UInt,
    duty_cycle_seconds_per_hour: UInt?,
    is_active: Boolean,
    speed: ThermostatFanControlTrait.FanSpeedSetting?,
    initiatedBy: ThermostatFanControlTrait.HvacActorMethod?
)

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

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

Public constructors

Request

Request(
    start_time_seconds_from_midnight: UInt,
    end_time_seconds_from_midnight: UInt,
    duty_cycle_seconds_per_hour: UInt? = null,
    is_active: Boolean = false,
    speed: ThermostatFanControlTrait.FanSpeedSetting? = null,
    initiatedBy: ThermostatFanControlTrait.HvacActorMethod? = 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

duty_cycle_seconds_per_hour

val duty_cycle_seconds_per_hour: UInt?

end_time_seconds_from_midnight

val end_time_seconds_from_midnight: UInt

is_active

val is_active: Boolean

start_time_seconds_from_midnight

val start_time_seconds_from_midnight: UInt