You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/documentation/docs/for-developers/device-integrations/shared-hardware-control.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,12 +54,12 @@ A few things need to be added to an existing integration to enable the Shared Ha
54
54
- The addresses you return for each Address State must be unique to that Address State and you must be able to connect them with updates you receive from the device
55
55
- The Address State must include the values you want to use to establish when control should be reasserted
56
56
2. Process updates from the external device
57
-
- After receiving an update from a device it has to converted into Address States and Addresses
57
+
- After receiving an update from a device it has to be converted into Address States and Addresses
58
58
- Call `this.context.setAddressState` for each updated Address State
- Your implementation will be given an old address state and a new one, it is up to you to tell the TSR whether this change in address state implies that control should be reasserted.
61
61
4. Implement `diffAddressStates` method
62
-
- Your implementaiton must be able to take in 2 Address States and return a boolean value `true` if the 2 Address States are different and `false` if they are equivalent.
62
+
- Your implementation must be able to take in 2 Address States and return a boolean value `true` if the 2 Address States are different and `false` if they are equivalent.
63
63
5. Implement `applyAddressState` method
64
64
- In this method you should copy the contents from an Address State onto the Device State output of your `convertTimelineStateToDeviceState` implementation
0 commit comments