forked from brutella/hc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bridging_state.go
36 lines (26 loc) · 930 Bytes
/
bridging_state.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
// THIS FILE IS AUTO-GENERATED
package service
import (
"github.com/brutella/hc/characteristic"
)
const TypeBridgingState = "62"
type BridgingState struct {
*Service
Reachable *characteristic.Reachable
LinkQuality *characteristic.LinkQuality
AccessoryIdentifier *characteristic.AccessoryIdentifier
Category *characteristic.Category
}
func NewBridgingState() *BridgingState {
svc := BridgingState{}
svc.Service = New(TypeBridgingState)
svc.Reachable = characteristic.NewReachable()
svc.AddCharacteristic(svc.Reachable.Characteristic)
svc.LinkQuality = characteristic.NewLinkQuality()
svc.AddCharacteristic(svc.LinkQuality.Characteristic)
svc.AccessoryIdentifier = characteristic.NewAccessoryIdentifier()
svc.AddCharacteristic(svc.AccessoryIdentifier.Characteristic)
svc.Category = characteristic.NewCategory()
svc.AddCharacteristic(svc.Category.Characteristic)
return &svc
}