# UnsupportedEntityCommand

# UnsupportedEntityCommand


```
class UnsupportedEntityCommand : ValidationIssue
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [com.google.home.automation.ValidationIssue](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue) ||
|   | ↳ | [com.google.home.automation.UnsupportedEntityCommand](https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnsupportedEntityCommand) |

*** ** * ** ***

The command is not supported by the entity.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnsupportedEntityCommand#UnsupportedEntityCommand(com.google.home.automation.Node,com.google.home.automation.ValidationIssueSeverity,kotlin.String,kotlin.String,kotlin.String,kotlin.collections.List)( node: https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node, severity: https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueSeverity, commandId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, entityId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, entityType: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, unsupportedReasons: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnsupportedCandidateReason> )` Create an `UnsupportedEntityCommand` instance. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnsupportedEntityCommand#commandId()` The unique ID of the command. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnsupportedEntityCommand#entityId()` The unique ID of the entity. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnsupportedEntityCommand#entityType()` The type of the entity. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnsupportedCandidateReason>` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnsupportedEntityCommand#unsupportedReasons()` List of reasons why the command is not supported. |

| ### Inherited functions |
|---|
| From [com.google.home.automation.ValidationIssue](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue) |---|---| | `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue#toString()()` | |

| ### Inherited properties |
|---|
| From [com.google.home.automation.ValidationIssue](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue) |---|---| | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue#issueType()` The type of the validation issue. | | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue#node()` The node for which validation is failing. | | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueSeverity` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssue#severity()` The severity of the validation issue. | |

## Public constructors

### UnsupportedEntityCommand

```
UnsupportedEntityCommand(
    node: Node,
    severity: ValidationIssueSeverity,
    commandId: String,
    entityId: String,
    entityType: String,
    unsupportedReasons: List<UnsupportedCandidateReason>
)
```

Create an `UnsupportedEntityCommand` instance.

## Public properties

### commandId

```
val commandId: String
```

The unique ID of the command.

### entityId

```
val entityId: String
```

The unique ID of the entity.

### entityType

```
val entityType: String
```

The type of the entity.

### unsupportedReasons

```
val unsupportedReasons: List<UnsupportedCandidateReason>
```

List of reasons why the command is not supported.