UnsubscribableAttribute

class UnsubscribableAttribute : ValidationIssue


The attribute is not subscribable thus cannot be used in a starter.

Summary

Public constructors

UnsubscribableAttribute(
    node: Node,
    severity: ValidationIssueSeverity,
    traitId: String,
    attributeName: String
)

Create an UnsubscribableAttribute instance.

Public properties

String

The attribute name.

String

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

UnsubscribableAttribute

UnsubscribableAttribute(
    node: Node,
    severity: ValidationIssueSeverity,
    traitId: String,
    attributeName: String
)

Create an UnsubscribableAttribute instance.

Public properties

attributeName

val attributeNameString

The attribute name.

traitId

val traitIdString