-
Notifications
You must be signed in to change notification settings - Fork 189
/
security_system.go
28 lines (20 loc) · 742 Bytes
/
security_system.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
// THIS FILE IS AUTO-GENERATED
package service
import (
"github.com/brutella/hc/characteristic"
)
const TypeSecuritySystem = "7E"
type SecuritySystem struct {
*Service
SecuritySystemCurrentState *characteristic.SecuritySystemCurrentState
SecuritySystemTargetState *characteristic.SecuritySystemTargetState
}
func NewSecuritySystem() *SecuritySystem {
svc := SecuritySystem{}
svc.Service = New(TypeSecuritySystem)
svc.SecuritySystemCurrentState = characteristic.NewSecuritySystemCurrentState()
svc.AddCharacteristic(svc.SecuritySystemCurrentState.Characteristic)
svc.SecuritySystemTargetState = characteristic.NewSecuritySystemTargetState()
svc.AddCharacteristic(svc.SecuritySystemTargetState.Characteristic)
return &svc
}