InvalidEntity

class InvalidEntity : ValidationIssue


The Entity (ID or name) does not exist or belong to the user.

Summary

Public constructors

InvalidEntity(
    node: Node,
    severity: ValidationIssueSeverity,
    entity: UnknownEntity,
    entityType: String,
    invalidEntityReason: InvalidEntity.InvalidEntityReason?
)

Create an InvalidEntity instance.

Public properties

UnknownEntity

The entity.

String

The type of the entity.

InvalidEntity.InvalidEntityReason?

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

InvalidEntity

InvalidEntity(
    node: Node,
    severity: ValidationIssueSeverity,
    entity: UnknownEntity,
    entityType: String,
    invalidEntityReason: InvalidEntity.InvalidEntityReason? = null
)

Create an InvalidEntity instance.

Public properties

entity

val entity: UnknownEntity

The entity.

entityType

val entityType: String

The type of the entity.