---
title: HMNumberRange
framework: homekit
role: symbol
role_heading: Class
path: homekit/hmnumberrange
---

# HMNumberRange

A set of numbers used to specify conditions for characteristic range threshold events.

## Declaration

```swift
class HMNumberRange
```

## Topics

### Creating a number range

- [init(minValue:maxValue:)](homekit/hmnumberrange/init(minvalue:maxvalue:).md)
- [init(minValue:)](homekit/hmnumberrange/init(minvalue:).md)
- [init(maxValue:)](homekit/hmnumberrange/init(maxvalue:).md)

### Inspecting a number range

- [minValue](homekit/hmnumberrange/minvalue.md)
- [maxValue](homekit/hmnumberrange/maxvalue.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Characteristic ranges

- [HMCharacteristicThresholdRangeEvent](homekit/hmcharacteristicthresholdrangeevent.md)
- [HMMutableCharacteristicThresholdRangeEvent](homekit/hmmutablecharacteristicthresholdrangeevent.md)
