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.

InvalidDuration

The seconds or nanos field is out of range.

InvalidEntity

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

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.

Enum Values

AutomationTooLarge

val ValidationIssueType.AutomationTooLargeValidationIssueType

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

BlockedAction

val ValidationIssueType.BlockedActionValidationIssueType

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

ConditionDurationOutOfRange

val ValidationIssueType.ConditionDurationOutOfRangeValidationIssueType

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

DelayDurationOutOfRange

val ValidationIssueType.DelayDurationOutOfRangeValidationIssueType

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

DuplicateStarterNode

val ValidationIssueType.DuplicateStarterNodeValidationIssueType

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

InvalidArgumentCount

val ValidationIssueType.InvalidArgumentCountValidationIssueType

The expression contains an invalid number of arguments.

InvalidArgumentsForOperator

val ValidationIssueType.InvalidArgumentsForOperatorValidationIssueType

The arguments for the operator are not valid.

InvalidCommand

val ValidationIssueType.InvalidCommandValidationIssueType

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.InvalidConditionTypeValidationIssueType

The condition must evaluate to a boolean value.

InvalidDuration

val ValidationIssueType.InvalidDurationValidationIssueType

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.

InvalidEntity

val ValidationIssueType.InvalidEntityValidationIssueType

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

InvalidEvent

val ValidationIssueType.InvalidEventValidationIssueType

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.InvalidFieldValidationIssueType

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.InvalidNullParameterValueValidationIssueType

The parameter value must not be null.

InvalidOperand

val ValidationIssueType.InvalidOperandValidationIssueType

The expression uses an invalid operand.

InvalidParameter

val ValidationIssueType.InvalidParameterValidationIssueType

The parameter name is not found in the behavior schema.

InvalidParameterType

val ValidationIssueType.InvalidParameterTypeValidationIssueType

The parameter type is not valid.

InvalidReference

val ValidationIssueType.InvalidReferenceValidationIssueType

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

InvalidTrait

val ValidationIssueType.InvalidTraitValidationIssueType

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.InvalidValueValidationIssueType

The value is invalid.

MisplacedSelectFlow

val ValidationIssueType.MisplacedSelectFlowValidationIssueType

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

MisplacedStarterNode

val ValidationIssueType.MisplacedStarterNodeValidationIssueType

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

MissingRequiredFields

val ValidationIssueType.MissingRequiredFieldsValidationIssueType

The automation graph is missing required field(s).

MissingRequiredParameters

val ValidationIssueType.MissingRequiredParametersValidationIssueType

Required parameters are not set.

MissingStarterNode

val ValidationIssueType.MissingStarterNodeValidationIssueType

The node cannot be reached without a preceding Starter node.

MultipleManualStarters

val ValidationIssueType.MultipleManualStartersValidationIssueType

The automation has more than oneManualStarter node.

OutputNotAccessible

val ValidationIssueType.OutputNotAccessibleValidationIssueType

A reference used an inaccessible output.

OutputReinitialized

val ValidationIssueType.OutputReinitializedValidationIssueType

An output variable has been reinitialized in multiple nodes.

OutputTypeMismatch

val ValidationIssueType.OutputTypeMismatchValidationIssueType

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

ReadOnlyAttribute

val ValidationIssueType.ReadOnlyAttributeValidationIssueType

The attribute is not modifiable without a command using write.

SuppressionDurationOutOfRange

val ValidationIssueType.SuppressionDurationOutOfRangeValidationIssueType

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

TooManyNodes

val ValidationIssueType.TooManyNodesValidationIssueType

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.TooManyOperationsValidationIssueType

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

Unknown

val ValidationIssueType.UnknownValidationIssueType

Unknown issue type.

UnsubscribableAttribute

val ValidationIssueType.UnsubscribableAttributeValidationIssueType

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

UnsupportedActionBehavior

val ValidationIssueType.UnsupportedActionBehaviorValidationIssueType

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

UnsupportedEntityCommand

val ValidationIssueType.UnsupportedEntityCommandValidationIssueType

The command is not supported by the entity.

UnsupportedEntityEvent

val ValidationIssueType.UnsupportedEntityEventValidationIssueType

The event is not supported by the entity.

UnsupportedEntityParameter

val ValidationIssueType.UnsupportedEntityParameterValidationIssueType

The parameter is not supported by the entity.

UnsupportedEntityParameterValue

val ValidationIssueType.UnsupportedEntityParameterValueValidationIssueType

The parameter value is not supported by the entity.

UnsupportedEntityTrait

val ValidationIssueType.UnsupportedEntityTraitValidationIssueType

The trait is not supported by the entity.

UnsupportedEntityType

val ValidationIssueType.UnsupportedEntityTypeValidationIssueType

The entity type is not supported by the entity.

UnsupportedNodeOutput

val ValidationIssueType.UnsupportedNodeOutputValidationIssueType

This node type does not produce output.

UnsupportedOperator

val ValidationIssueType.UnsupportedOperatorValidationIssueType

The operator is unknown or unspecified.

UnsupportedStarterBehavior

val ValidationIssueType.UnsupportedStarterBehaviorValidationIssueType

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

UnsupportedStateReaderBehavior

val ValidationIssueType.UnsupportedStateReaderBehaviorValidationIssueType

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

UnsupportedSubNodeType

val ValidationIssueType.UnsupportedSubNodeTypeValidationIssueType

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.