ValidationIssueType

enum ValidationIssueType : Enum


Validation Issue Type

Summary

Enum Values

AutomationTooLarge

The automation's serialized form is larger than what is allowed by the abuse prevention config for the calling application.

BlockedAction

The action could impact the safety, security, or privacy of a household.

ConditionDurationOutOfRange

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

DelayDurationOutOfRange

The delay duration is outside the accepted range of 5 seconds to 24 hours.

DuplicateStarterNode

The Starter node is listening to the same trait change or event as other Starter nodes.

InvalidArgumentCount

The expression contains an invalid number of arguments.

InvalidArgumentsForOperator

The arguments for the operator are not valid.

InvalidCommand

The command ID is not found in the event schema.

InvalidConditionType

The condition must evaluate to a boolean value.

InvalidCustomCameraEventQuery

The custom camera event query is invalid.

InvalidDuration

The seconds or nanos field is out of range.

InvalidDurationExpressionType

The duration expression type is not valid.

InvalidEntity

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

InvalidEntityExpressionType

The entity expression type is not valid.

InvalidEvent

The event ID is not found in the event schema.

InvalidField

The FIELD_SELECT expression uses an invalid field.

InvalidNullParameterValue

The parameter value must not be null.

InvalidOperand

The expression uses an invalid operand.

InvalidParameter

The parameter name is not found in the behavior schema.

InvalidParameterType

The parameter type is not valid.

InvalidReference

The "reference," which refers to output produced by a preceding node, is unknown.

InvalidTrait

The trait is not found in the event schema.

InvalidValue

The value is invalid.

MisplacedSelectFlow

The Select flow node must be the first node in an automation.

MisplacedStarterNode

The Starter node must be the first node in an automation or in a select flow.

MissingRequiredFields

The automation graph is missing required field(s).

MissingRequiredParameters

Required parameters are not set.

MissingStarterNode

The node cannot be reached without a preceding Starter node.

MultipleManualStarters

The automation has more than oneManualStarter node.

OutputNotAccessible

A reference used an inaccessible output.

OutputReinitialized

An output variable has been reinitialized in multiple nodes.

OutputTypeMismatch

An output variable has been defined in multiple nodes with different types.

ReadOnlyAttribute

The attribute is not modifiable without a command using write.

SuppressionDurationOutOfRange

The suppression duration is outside the accepted range of 5 seconds to 24 hours.

TooManyNodes

The automation has more nodes than allowed by the abuse prevention configuration for the calling application.

TooManyOperations

The expression has more operations than allowed by the abuse prevention configuration for the calling application.

Unknown

Unknown issue type.

UnsubscribableAttribute

The attribute is not subscribable and therefore cannot be used in a Starter node.

UnsupportedActionBehavior

The entity behavior type is not supported by the Action node.

UnsupportedEntityCommand

The command is not supported by the entity.

UnsupportedEntityEvent

The event is not supported by the entity.

UnsupportedEntityParameter

The parameter is not supported by the entity.

UnsupportedEntityParameterValue

The parameter value is not supported by the entity.

UnsupportedEntityTrait

The trait is not supported by the entity.

UnsupportedEntityType

The entity type is not supported by the entity.

UnsupportedNodeOutput

This node type does not produce output.

UnsupportedOperator

The operator is unknown or unspecified.

UnsupportedStarterBehavior

The entity behavior type is not supported by the Starter node.

UnsupportedStateReaderBehavior

The entity behavior type is not supported by the StateReader node.

UnsupportedSubNodeType

The sub-node type is not allowed inside the parent node.

Public functions

ValidationIssueType
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<ValidationIssueType>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

EnumEntries<ValidationIssueType>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Enum Values

AutomationTooLarge

val ValidationIssueType.AutomationTooLarge: ValidationIssueType

The automation's serialized form is larger than what is allowed by the abuse prevention config for the calling application.

BlockedAction

val ValidationIssueType.BlockedAction: ValidationIssueType

The action could impact the safety, security, or privacy of a household. For more information, refer to Blocked actions in automations.

ConditionDurationOutOfRange

val ValidationIssueType.ConditionDurationOutOfRange: ValidationIssueType

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

DelayDurationOutOfRange

val ValidationIssueType.DelayDurationOutOfRange: ValidationIssueType

The delay duration is outside the accepted range of 5 seconds to 24 hours.

DuplicateStarterNode

val ValidationIssueType.DuplicateStarterNode: ValidationIssueType

The Starter node is listening to the same trait change or event as other Starter nodes.

InvalidArgumentCount

val ValidationIssueType.InvalidArgumentCount: ValidationIssueType

The expression contains an invalid number of arguments.

InvalidArgumentsForOperator

val ValidationIssueType.InvalidArgumentsForOperator: ValidationIssueType

The arguments for the operator are not valid.

InvalidCommand

val ValidationIssueType.InvalidCommand: ValidationIssueType

The command ID is not found in the event schema. The optional expectedBehaviorType property indicates that the command ID belongs to other schemas.

InvalidConditionType

val ValidationIssueType.InvalidConditionType: ValidationIssueType

The condition must evaluate to a boolean value.

InvalidCustomCameraEventQuery

val ValidationIssueType.InvalidCustomCameraEventQuery: ValidationIssueType

The custom camera event query is invalid.

InvalidDuration

val ValidationIssueType.InvalidDuration: ValidationIssueType

The seconds or nanos field is out of range. The seconds value must be in the range -315,576,000,000, +315,576,000,000, and the nanos value must be in the range -999,999,999, +999,999,999.

InvalidDurationExpressionType

val ValidationIssueType.InvalidDurationExpressionType: ValidationIssueType

The duration expression type is not valid.

InvalidEntity

val ValidationIssueType.InvalidEntity: ValidationIssueType

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

InvalidEntityExpressionType

val ValidationIssueType.InvalidEntityExpressionType: ValidationIssueType

The entity expression type is not valid.

InvalidEvent

val ValidationIssueType.InvalidEvent: ValidationIssueType

The event ID is not found in the event schema. The optional expectedBehaviorType property indicates that the event ID belongs to other schemas.

InvalidField

val ValidationIssueType.InvalidField: ValidationIssueType

The FIELD_SELECT expression uses an invalid field. For example, if var is an OnOff trait type, because it has on_off attribute, var.on_off is a valid field select, while var.brightness would be an invalid FIELD_SELECT.

InvalidNullParameterValue

val ValidationIssueType.InvalidNullParameterValue: ValidationIssueType

The parameter value must not be null.

InvalidOperand

val ValidationIssueType.InvalidOperand: ValidationIssueType

The expression uses an invalid operand.

InvalidParameter

val ValidationIssueType.InvalidParameter: ValidationIssueType

The parameter name is not found in the behavior schema.

InvalidParameterType

val ValidationIssueType.InvalidParameterType: ValidationIssueType

The parameter type is not valid.

InvalidReference

val ValidationIssueType.InvalidReference: ValidationIssueType

The "reference," which refers to output produced by a preceding node, is unknown.

InvalidTrait

val ValidationIssueType.InvalidTrait: ValidationIssueType

The trait is not found in the event schema. The optional expectedBehaviorType property indicates that the trait ID belongs to other schemas.

InvalidValue

val ValidationIssueType.InvalidValue: ValidationIssueType

The value is invalid.

MisplacedSelectFlow

val ValidationIssueType.MisplacedSelectFlow: ValidationIssueType

The Select flow node must be the first node in an automation.

MisplacedStarterNode

val ValidationIssueType.MisplacedStarterNode: ValidationIssueType

The Starter node must be the first node in an automation or in a select flow.

MissingRequiredFields

val ValidationIssueType.MissingRequiredFields: ValidationIssueType

The automation graph is missing required field(s).

MissingRequiredParameters

val ValidationIssueType.MissingRequiredParameters: ValidationIssueType

Required parameters are not set.

MissingStarterNode

val ValidationIssueType.MissingStarterNode: ValidationIssueType

The node cannot be reached without a preceding Starter node.

MultipleManualStarters

val ValidationIssueType.MultipleManualStarters: ValidationIssueType

The automation has more than oneManualStarter node.

OutputNotAccessible

val ValidationIssueType.OutputNotAccessible: ValidationIssueType

A reference used an inaccessible output.

OutputReinitialized

val ValidationIssueType.OutputReinitialized: ValidationIssueType

An output variable has been reinitialized in multiple nodes.

OutputTypeMismatch

val ValidationIssueType.OutputTypeMismatch: ValidationIssueType

An output variable has been defined in multiple nodes with different types.

ReadOnlyAttribute

val ValidationIssueType.ReadOnlyAttribute: ValidationIssueType

The attribute is not modifiable without a command using write.

SuppressionDurationOutOfRange

val ValidationIssueType.SuppressionDurationOutOfRange: ValidationIssueType

The suppression duration is outside the accepted range of 5 seconds to 24 hours.

TooManyNodes

val ValidationIssueType.TooManyNodes: ValidationIssueType

The automation has more nodes than allowed by the abuse prevention configuration for the calling application. For more information, refer to Resource limits.

TooManyOperations

val ValidationIssueType.TooManyOperations: ValidationIssueType

The expression has more operations than allowed by the abuse prevention configuration for the calling application.

Unknown

val ValidationIssueType.Unknown: ValidationIssueType

Unknown issue type.

UnsubscribableAttribute

val ValidationIssueType.UnsubscribableAttribute: ValidationIssueType

The attribute is not subscribable and therefore cannot be used in a Starter node.

UnsupportedActionBehavior

val ValidationIssueType.UnsupportedActionBehavior: ValidationIssueType

The entity behavior type is not supported by the Action node.

UnsupportedEntityCommand

val ValidationIssueType.UnsupportedEntityCommand: ValidationIssueType

The command is not supported by the entity.

UnsupportedEntityEvent

val ValidationIssueType.UnsupportedEntityEvent: ValidationIssueType

The event is not supported by the entity.

UnsupportedEntityParameter

val ValidationIssueType.UnsupportedEntityParameter: ValidationIssueType

The parameter is not supported by the entity.

UnsupportedEntityParameterValue

val ValidationIssueType.UnsupportedEntityParameterValue: ValidationIssueType

The parameter value is not supported by the entity.

UnsupportedEntityTrait

val ValidationIssueType.UnsupportedEntityTrait: ValidationIssueType

The trait is not supported by the entity.

UnsupportedEntityType

val ValidationIssueType.UnsupportedEntityType: ValidationIssueType

The entity type is not supported by the entity.

UnsupportedNodeOutput

val ValidationIssueType.UnsupportedNodeOutput: ValidationIssueType

This node type does not produce output.

UnsupportedOperator

val ValidationIssueType.UnsupportedOperator: ValidationIssueType

The operator is unknown or unspecified.

UnsupportedStarterBehavior

val ValidationIssueType.UnsupportedStarterBehavior: ValidationIssueType

The entity behavior type is not supported by the Starter node.

UnsupportedStateReaderBehavior

val ValidationIssueType.UnsupportedStateReaderBehavior: ValidationIssueType

The entity behavior type is not supported by the StateReader node.

UnsupportedSubNodeType

val ValidationIssueType.UnsupportedSubNodeType: ValidationIssueType

The sub-node type is not allowed inside the parent node.

Public functions

valueOf

fun valueOf(value: String): ValidationIssueType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<ValidationIssueType>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Public properties

entries

val entries: EnumEntries<ValidationIssueType>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.