home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.03k stars 28.28k forks source link

Abort Minecraft Server config flow if device is already configured #116852

Closed elmurato closed 1 week ago

elmurato commented 1 week ago

Proposed change

SSIA

Note: As there is no unique information available from the library/server during config flow the only possibility is to check if the entered server address is already used in one of the existing config entries.

Type of change

Additional information

Checklist

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

To help with the load of incoming pull requests:

home-assistant[bot] commented 1 week ago

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks :+1:

Learn more about our pull request process.