Validation errors and warnings

Errors

YamlSyntaxError

Invalid YAML syntax.

See documentation for syntax.

InvalidValueTypeStructExpected

The value of the current key should be [Struct type] but is [actualType].

InvalidValueTypeArrayExpected

The value of the current key should be an Array but is [actualType].

InvalidValueTypeNumberExpected

The value of the current key should be a Number but is [actualType].

InvalidValueTypeBoolExpected

The value of the current key should be a Bool but is [actualType].

InvalidValueTypeStringExpected

The value of the current key should be a String but is [actualType].

InvalidVariable

The value should be an Input variable string but is [actualType].

InvalidDevicesSyntax

Use "device" not "devices" when multiSelect is true.

InvalidDeviceSyntax

Use "devices" not "device" when multiSelect is false.

InvalidDeviceString

[device string] is an invalid Device name string.

UnknownTrait

[trait] should be a Trait string. Check the right panel for valid Traits.

UnknownCommand

[command] should be a Command string. Check the right panel for valid Commands.

UnexpectedField

[unexpected_subfield_name] is an unexpected Struct field.The field [field key name] is unexpected.

UnsupportedActionDeviceTypePair

[action] with [device_type] isn’t supported.

UnsupportedTrait

[trait] is not supported.

UnsupportedEvent

[event] is not supported.

UnsupportedCommand

[command] is not supported.

InvalidFieldPathiString

[field_path] isn’t a valid state field for [trait] trait.

InvalidTimeString

The value should be a Time string. Expected format is [include format here e.g. YYYYMMDD HH:MM:SS].

InvalidDurationString

The value should be a Duration string. Expected format is [include format here e.g. HH:MM:SS].

InvalidTimeOffsetString

The value should be a TimeOffset string. Expected format is [include format here e.g. HH:MM:SS].

InvalidWeekdayString

The value should be a Weekday string. Possible values are [include valid values e.g. Mon, Tue, Wed, Thu, Fri, Sat, Sun].

UnknownDeviceType

The value should be a DeviceType string. Check the right panel for valid Device types.

InvalidVariableName

[InputVariableName value] is an invalid variable name. Expected format is [a-z][A-Za-z0-9_*].

InvalidType

[InvalidType] is an invalid Type. Expected type is [include expected type].

InvalidKey

The field name must be a string.

UnexpectedField

[unexpected_subfield_name] is an unexpected Struct field.

MissingRequiredField

Missing Required key field for Struct.

DuplicateField

The current Struct has duplicate keys [key name].

DuplicateDevice

Multiple devices named [device name] in [room name]. Give each device a unique name.

InvalidFieldCombination

Ineligible combination of optional keys in the Struct.

UnusedVariable

[variable] input variable isn’t used.

InputVariableNotSet / UndefinedVariable

[variable] input variable isn’t defined.

UnknownEvent

[event] should be an Event string.

InvalidCompareOperation

Can’t compare [left] with [right].

InvalidEnumString

[value] is an invalid enum string.

UnsupportedTraitFromDevice

[trait] isn’t supported by [device(s)].

UnsupportedStateFromDevice

[state] isn’t supported by [device(s)].

UnsupportedEventFromDevice

[event] isn’t supported by [devices].

UnsupportedCommandFromDevice

[command] isn’t supported by [devices].

InvalidDeviceName

[value] is an invalid device name.

UnknownValidationIssue

Validation issue unknown.

EmptyValue

The value should be [expectedTypes] but is empty.

SensitiveAction

[command] with [deviceType] isn’t supported.

MissingStructureLocation

Missing home address. Add an address to your home in the Google Home app.

IncomparableDataType

Data type [dataType] can’t be compared with "above" or "below.”

MissingIntegrationEnrollment

[integrationName] not set up.

InvalidPresenceSetup

This trait is unavailable until presence sensing is set up. You can go to Google Home app Settings to get started.

InvalidNestAwareSubscription

This trait requires a Nest Aware or Nest Aware Plus subscription. You can sign up at https://store.google.com/product/nest_aware

PresenceApprovalRequired

This household member must approve this Routine to run it.

RoutineNameRequired

This Routine needs a name.

InvalidRoutineName

This Routine needs a valid name.

EnterValidScript

Enter a script to validate.

EmptyScript

Enter a script to save.

DuplicateVoiceTrigger

This command is already in use as a voice starter .

DuplicatedScriptName

The automation name [scriptName] is already in use.

Warnings

SensitiveTraitUsage

[action_type] applied to [device_name] could impact the safety, security, and / or privacy of your household.

ExperimentalTraitAsTrigger

Use of [trait] for [partner name] as a trigger is experimental and may not be reliable.

ExperimentalTraitAsAction

Use of [trait] for [partner name] as an action is experimental and may not be reliable.