Accessory context with newer onGet and onSet methods
### Current Situation

Hi, I have a development question regarding how I can access an accessory's context through the newer `onGet` and `onSet` methods? I currently use `on('get', ...)` and `on('set', ...)` but would like to use the new promise based methods. But when using the `onGet` and `onSet` methods I get the error that `this.accessory.context` is undefined. My get and set methods need access to the accessory context. How can I make my functions for onGet and onSet have access to context? The below log statement is what is outputted when it tries to read `ip` from `this.accessory.context`, which works fine with the older methods.

### Logs

```markdown
[homebridge-pluginname] This plugin threw an error from the characteristic 'Lock Target State': Unhandled error thrown inside write handler for characteristic: Cannot read properties of undefined (reading 'ip'). See https://git.io/JtMGR for more info.
```


### Configuration

```json
N/A
```


### Environment

- OS: Latest macOS Monterey
- Software: 1.4.0
- Node: v16.3.2
- npm: v8.3.2


### Process Supervisor

hb-service

### Additional Context

_No response_