# GenericSwitchDevice.StandardTraits

# GenericSwitchDevice.StandardTraits


```
class GenericSwitchDevice.StandardTraits
```

<br />

*** ** * ** ***

Trait Container for GenericSwitchDevice Standard Traits.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GenericSwitchDevice.StandardTraits#StandardTraits(com.google.home.TraitProvider)(traitProvider: https://developers.home.google.com/reference/kotlin/com/google/home/TraitProvider)` |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/Identify?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GenericSwitchDevice.StandardTraits#identify()` This trait supports an endpoint identification state (such as a flashing light) that indicates to an observer (such as an installer) which of several nodes or endpoints it is. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/Switch?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GenericSwitchDevice.StandardTraits#switch()` This trait exposes interactions with a switch device, for the purpose of using those interactions by other devices. |

## Public constructors

### StandardTraits

```
StandardTraits(traitProvider: TraitProvider)
```

## Public properties

### identify

```
val identify: Identify?
```

This trait supports an endpoint identification state (such as a flashing light) that indicates to an observer (such as an installer) which of several nodes or endpoints it is.

### switch

```
val switch: Switch?
```

This trait exposes interactions with a switch device, for the purpose of using those interactions by other devices.