UnsupportedEntityTrait

class UnsupportedEntityTrait : ValidationIssue


The trait is not supported by the entity.

Summary

Public constructors

UnsupportedEntityTrait(
    node: Node,
    severity: ValidationIssueSeverity,
    traitId: String,
    entityId: String,
    entityType: String,
    unsupportedReasons: List<UnsupportedCandidateReason>
)

Create an UnsupportedEntityTrait instance.

Public properties

String

The unique ID of the entity.

String

The type of the entity.

String

The unique ID of the trait.

List<UnsupportedCandidateReason>

List of reasons why the trait is not supported.

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

UnsupportedEntityTrait

UnsupportedEntityTrait(
    node: Node,
    severity: ValidationIssueSeverity,
    traitId: String,
    entityId: String,
    entityType: String,
    unsupportedReasons: List<UnsupportedCandidateReason>
)

Create an UnsupportedEntityTrait instance.

Public properties

entityId

val entityId: String

The unique ID of the entity.

entityType

val entityType: String

The type of the entity.

traitId

val traitId: String

The unique ID of the trait.

unsupportedReasons

val unsupportedReasons: List<UnsupportedCandidateReason>

List of reasons why the trait is not supported.