# SafetyStatus

    struct SafetyStatus

Reflects the state of the safety sensors and the common issues preventing movements.
- `


  ### [rawValue](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV8rawValues6UInt16Vvp)


  ` The corresponding value of the raw type.

  A new instance initialized with `rawValue` will be equivalent to this
  instance. For example:

      enum PaperSize: String {
          case A4, A5, Letter, Legal
      }

      let selectedSize = PaperSize.Letter
      print(selectedSize.rawValue)
      // Prints "Letter"

      print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)
      // Prints "true"

  #### Declaration

  Swift

      let rawValue: UInt16

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV8rawValueAGs6UInt16V_tcfc)


  ` Creates a new option set from the given raw value.

  This initializer always succeeds, even if the value passed as `https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus.html#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV8rawValues6UInt16Vvp`
  exceeds the static properties declared as part of the option set. This
  example creates an instance of `ShippingOptions` with a raw value beyond
  the highest element, with a bit mask that effectively contains all the
  declared static members.

      let extraOptions = ShippingOptions(rawValue: 255)
      print(extraOptions.isStrictSuperset(of: .all))
      // Prints "true"

  #### Declaration

  Swift

      init(rawValue: UInt16)

  #### Parameters

  |---|---|
  | ` rawValue ` | The raw value of the option set to create. Each bit of `https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus.html#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV8rawValues6UInt16Vvp` potentially represents an element of the option set, though raw values may include bits that are not defined as distinct values of the `OptionSet` type. |

- `


  ### [remoteLockout](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV13remoteLockoutAGvpZ)


  ` Movement commands are ignored outside some time-and-date range.

  #### Declaration

  Swift

      static let remoteLockout: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait.html.SafetyStatus

- `


  ### [tamperDetection](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV15tamperDetectionAGvpZ)


  ` Tampering detected on sensors or other safety equipment.

  #### Declaration

  Swift

      static let tamperDetection: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait.html.SafetyStatus

- `


  ### [failedCommunication](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV19failedCommunicationAGvpZ)


  ` Communication failure to sensors or other safety equipment.

  #### Declaration

  Swift

      static let failedCommunication: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait.html.SafetyStatus

- `


  ### [positionFailure](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV15positionFailureAGvpZ)


  ` Device failed to reach the desired position.

  #### Declaration

  Swift

      static let positionFailure: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait.html.SafetyStatus

- `


  ### [thermalProtection](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV17thermalProtectionAGvpZ)


  ` Motor(s) and/or electric circuit thermal protection activated.

  #### Declaration

  Swift

      static let thermalProtection: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait.html.SafetyStatus

- `


  ### [obstacleDetected](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV16obstacleDetectedAGvpZ)


  ` An obstacle is preventing actuator movement.

  #### Declaration

  Swift

      static let obstacleDetected: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait.html.SafetyStatus

- `


  ### [power](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV5powerAGvpZ)


  ` Device has a power-related issue or limitation.

  #### Declaration

  Swift

      static let power: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait.html.SafetyStatus

- `


  ### [stopInput](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV9stopInputAGvpZ)


  ` Local safety sensor is preventing movements (for example Safety EU Standard EN60335).

  #### Declaration

  Swift

      static let stopInput: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait.html.SafetyStatus

- `


  ### [motorJammed](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV11motorJammedAGvpZ)


  ` Mechanical problem related to the motor(s) detected.

  #### Declaration

  Swift

      static let motorJammed: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait.html.SafetyStatus

- `


  ### [hardwareFailure](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV15hardwareFailureAGvpZ)


  ` PCB, fuse and other electrics problems.

  #### Declaration

  Swift

      static let hardwareFailure: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait.html.SafetyStatus

- `


  ### [manualOperation](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV15manualOperationAGvpZ)


  ` The actuator is manually operated and is preventing actuator movement (for example, the
  actuator is disengaged or decoupled).

  #### Declaration

  Swift

      static let manualOperation: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait.html.SafetyStatus

- `


  ### [protection](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait/SafetyStatus#/s:15GoogleHomeTypes6MatterO19WindowCoveringTraitV12SafetyStatusV10protectionAGvpZ)


  ` Protection is activated.

  #### Declaration

  Swift

      static let protection: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/WindowCoveringTrait.html.SafetyStatus