Closed bdraco closed 3 years ago
I liked the the form providing a default of the first found device. Trying to do that with None didn't seem to work so I added another option of "IP Address". The user can select this to enter a manual IP address.
Devices will compare on IP address and Name so there is no need to keep track of IP address and Host name in the forms.
Let me know what you think.
BTW thanks for all the help! You clearly know Python and Home Assistant quite well.
I was a bit conflicted on None
since I was trying to avoid a string that wouldn't be translatable, but I think IP Address
doesn't need to be translated so it seems good to me.
I'll give it a spin shortly.
LGTM 👍
Tested and working as you describe
I had not thought about translations but I don't see a better way.