Documentation
¶
Overview ¶
Package homegraph consumes the Cloud home graph for paired voice output. It owns no graph persistence, adoption decision or device credential.
Stability: Stable — no breaking change without a minor version bump and a changelog callout.
Package homegraph consumes kombify.home_graph.v1 for voice answer routing. The graph remains Cloud-owned; this package never changes it or its leader.
Index ¶
Constants ¶
const MaxDocumentBytes = 2 << 20
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
ID string `json:"id"`
Class string `json:"class"`
Status string `json:"status"`
Roles []string `json:"roles"`
RoomID *string `json:"room_id"`
Identity struct {
Kind string `json:"kind"`
Ref string `json:"ref"`
} `json:"identity"`
ExternalRefs []struct {
System string `json:"system"`
Ref string `json:"ref"`
} `json:"external_refs"`
}
type Document ¶
type Document struct {
Schema string `json:"schema"`
SpaceID string `json:"space_id"`
Revision int64 `json:"revision"`
Rooms []struct {
ID string `json:"id"`
} `json:"rooms"`
Devices []Device `json:"devices"`
Assignments []struct {
Kind string `json:"kind"`
DeviceID string `json:"device_id"`
TargetDeviceID string `json:"target_device_id"`
} `json:"assignments"`
}
Document is the voice projection of the shared home graph wire document. Floors, names and other fields have no bearing on an answer's authority.