Skip to content

Device not discoverable in home assistant after unpairing twice #435

@mzakharocsc

Description

@mzakharocsc

I am not sure whether this is a HAP-python issue or a home assistant issue.

After pairing/unpairing sequence is done twice in Home Assistant, HAP-python device no longer shows up in the list of 'devices'.
Restart of HAP-python fixes the issue.

Steps to reproduce:
run python3 main.py in the root folder of HAP-python repository

  1. Configure (pair) the device in home assistant (Devices tab)
  2. Delete it (unpair)
  3. Device will automatically be shown again and ready for pairing
  4. Configure (pair) the device in home assistant (Devices tab)
  5. Delete it (unpair)
  6. Device will not show up for pairing anymore
  7. To fix: restart python3 main.py

HAP-version: V4.6.0
Home Assistant Version: 2023.2.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions