ConditionDurationOutOfRange

class ConditionDurationOutOfRange : ValidationIssue


The condition duration is outside the accepted range of 1-30 minutes.

Summary

Public constructors

ConditionDurationOutOfRange(
    node: Node,
    severity: ValidationIssueSeverity,
    duration: Duration
)

Create an ConditionDurationOutOfRange instance.

Public properties

Duration

The duration.

Inherited properties

From com.google.home.automation.ValidationIssue
ValidationIssueType

The type of the validation issue.

Node

The node for which validation is failing.

ValidationIssueSeverity

The severity of the validation issue.

Public constructors

ConditionDurationOutOfRange

ConditionDurationOutOfRange(
    node: Node,
    severity: ValidationIssueSeverity,
    duration: Duration
)

Create an ConditionDurationOutOfRange instance.

Public properties

duration

val durationDuration

The duration.