Skip to content

Commit b631e8e

Browse files
chore(homegraph): update the api
#### homegraph:v1 The following keys were added: - schemas.Device.properties.nonLocalTraits (Total Keys: 2) - schemas.NonLocalTrait (Total Keys: 3)
1 parent 42e697b commit b631e8e

File tree

2 files changed

+581
-558
lines changed

2 files changed

+581
-558
lines changed

docs/dyn/homegraph_v1.devices.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@ <h3>Method Details</h3>
227227
&quot;payload&quot;: { # Payload containing device information. # Devices associated with the third-party user.
228228
&quot;agentUserId&quot;: &quot;A String&quot;, # Third-party user ID
229229
&quot;devices&quot;: [ # Devices associated with the third-party user.
230-
{ # Third-party device definition.
230+
{ # Third-party device definition. Next ID = 14
231231
&quot;attributes&quot;: { # Attributes for the traits supported by the device.
232232
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
233233
},
234-
&quot;customData&quot;: { # Custom device attributes stored in Home Graph and provided to your smart home Action in each [QUERY](https://developers.google.com/assistant/smarthome/reference/intent/query) and [EXECUTE](https://developers.google.com/assistant/smarthome/reference/intent/execute) intent.
234+
&quot;customData&quot;: { # Custom device attributes stored in Home Graph and provided to your smart home Action in each [QUERY](https://developers.google.com/assistant/smarthome/reference/intent/query) and [EXECUTE](https://developers.google.com/assistant/smarthome/reference/intent/execute) intent. Data in this object has a few constraints: No sensitive information, including but not limited to Personally Identifiable Information.
235235
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
236236
},
237237
&quot;deviceInfo&quot;: { # Device information. # Device manufacturer, model, hardware version, and software version.
@@ -250,6 +250,11 @@ <h3>Method Details</h3>
250250
&quot;A String&quot;,
251251
],
252252
},
253+
&quot;nonLocalTraits&quot;: [ # See description for &quot;traits&quot;. For Smart Home Entertainment Devices (SHED) devices, some traits can only be executed on 3P cloud, e.g. &quot;non_local_traits&quot;: [ { &quot;trait&quot;: &quot;action.devices.traits.MediaInitiation&quot; }, { &quot;trait&quot;: &quot;action.devices.traits.Channel&quot; } ] go/shed-per-trait-routing.
254+
{ # LINT.IfChange go/shed-per-trait-routing. Making it object to allow for extendible design, where we can add attributes in future.
255+
&quot;trait&quot;: &quot;A String&quot;, # Trait name, e.g., &quot;action.devices.traits.MediaInitiation&quot;. See [device traits](https://developers.google.com/assistant/smarthome/traits).
256+
},
257+
],
253258
&quot;notificationSupportedByAgent&quot;: True or False, # Indicates whether your smart home Action will report notifications to Google for this device via ReportStateAndNotification. If your smart home Action enables users to control device notifications, you should update this field and call RequestSyncDevices.
254259
&quot;otherDeviceIds&quot;: [ # Alternate IDs associated with this device. This is used to identify cloud synced devices enabled for [local fulfillment](https://developers.google.com/assistant/smarthome/concepts/local).
255260
{ # Alternate third-party device ID.

0 commit comments

Comments
 (0)