Generated code is not accepted, when trying to add devices
### Describe The Bug

In v4.52.0 the new code is not accepted, when I want to add a device although it is the same as displayed in the logfile.
See here: https://github.com/maxileith/homebridge-appletv-enhanced/issues/10#issuecomment-1793498279

### Logs

_No response_

### Config

_No response_

### Homebridge UI Version

4.52.0

### Homebridge Version

1.7.0

### Node.js Version

20.9

### Operating System

Ubuntu / Debian (or a variant)

### Environment Info

- [ ] Using Docker?
- [ ] Using Hyper-V?
- [ ] Using hb-service?

### Raspberry Pi Model

None