-
Notifications
You must be signed in to change notification settings - Fork 190
/
constants.go
36 lines (34 loc) · 1.73 KB
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package service
// ServiceType is the type for all HomeKit service types.
type ServiceType string
// HomeKit defined service types.
// const (
// TypeAccessoryInfo ServiceType = "3E"
// TypeAirQualitySensor ServiceType = "8D"
// TypeBatteryService ServiceType = "96"
// TypeBridgingState ServiceType = "62"
// TypeCarbonDioxideSensor ServiceType = "97"
// TypeCarbonMonoxideSensor ServiceType = "7F"
// TypeContactSensor ServiceType = "80"
// TypeDoor ServiceType = "81"
// TypeFan ServiceType = "40"
// TypeGarageDoorOpener ServiceType = "41"
// TypeHumiditySensor ServiceType = "82"
// TypeLeakSensor ServiceType = "83"
// TypeLightSensor ServiceType = "84"
// TypeLightbulb ServiceType = "43"
// TypeLockManagement ServiceType = "44"
// TypeLockMechanism ServiceType = "45"
// TypeMotionSensor ServiceType = "85"
// TypeOccupancySensor ServiceType = "86"
// TypeOutlet ServiceType = "47"
// TypeSecuritySystem ServiceType = "7E"
// TypeSmokeSensor ServiceType = "87"
// TypeStatefulProgrammableSwitch ServiceType = "88"
// TypeStatelessProgrammableSwitch ServiceType = "89"
// TypeSwitch ServiceType = "49"
// TypeTemperatureSensor ServiceType = "8A"
// TypeThermostat ServiceType = "4A"
// TypeWindow ServiceType = "8B"
// TypeWindowCovering ServiceType = "8C"
// )