Skip to content

Commit 54d5abb

Browse files
SaftretCopilot
andauthored
fix: spelling
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c76689e commit 54d5abb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/documentation/docs/for-developers/device-integrations/shared-hardware-control.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ A few things need to be added to an existing integration to enable the Shared Ha
5454
   - 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
5555
   - The Address State must include the values you want to use to establish when control should be reasserted
5656
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
5858
   - Call `this.context.setAddressState` for each updated Address State
5959
3. Implement `addressStateReassertsControl` method
6060
   - 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.
6161
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.
6363
5. Implement `applyAddressState` method
6464
   - In this method you should copy the contents from an Address State onto the Device State output of your `convertTimelineStateToDeviceState` implementation
6565

0 commit comments

Comments
 (0)