Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix homekit_controller pairing for devices with a screen (#15336) #23882
This fixes pairing for HomeKit devices that have a screen, such as the Ecobee (see #15336).
When a HomeKit device has no screen its pairing pin is static. It is typically printed on a label on the accessory. When a HomeKit device has a screen the pairing pin is random. In this case the device has to enter pairing mode to show a valid pin. Without the change in this PR those devices cannot be paired via HA.
In the current code we support static pins via the
The big change here is that
The config flow tests still have 100% coverage after this change.
From a user experience point of view nothing has changed - other than Ecobee users will actually have a pairing code to enter now.