postlund / pyatv

A client library for Apple TV and AirPlay devices
https://pyatv.dev
MIT License
839 stars 91 forks source link

Companion credentials are not saved to storage when pairing #2216

Closed postlund closed 8 months ago

postlund commented 9 months ago

Describe the bug

Pairing success but credentials are not stored.

Error log

<place log here>

How to reproduce the bug?

Start by pairing:

atvremote -s <ip> --protocol pair

Check that settings None:

$ atvremote -s 10.0.10.84 print_settings | grep     companion.credentials
protocols.companion.credentials = None (str, NoneType)

What is expected behavior?

Credentials to be saved

Operating System

Any

Python

3.10

pyatv

0.14.0

Device

NA

Additional context

No

postlund commented 8 months ago

Fixed in 0.14.1.