Closed
Description
Describe the bug
During the awesome new configuration flow in the beta component for apple_tv, I'm prompted for a series of PINs. The entry field is obviously expecting an integer, rather than a string, so cunningly deletes a "0" if the pin starts with one (e.g. 0123). This means pairing fails, and you have to keep retrying until Apple TV generates a new PIN.
To Reproduce
Try entering a PIN with a zero prefix, e.g. 0123. HASS will change it to "123" in the text field.
Expected behavior
I need to be able to enter 0123.
System Setup (please complete the following information):
- OS: [e.g. Debian] Hass.io
- Python: [e.g. 3.6.2] Hass.io
- pyatv: [e.g. 0.3.10] Beta plugin via CACS
Additional context