Skip to content

Commit

Permalink
Put server URL in warning message for users with multiple servers. (#135
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dermotduffy authored Aug 26, 2021
1 parent ccda764 commit 429367c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions custom_components/frigate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,10 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:

if AwesomeVersion(server_version) <= AwesomeVersion(FRIGATE_VERSION_ERROR_CUTOFF):
_LOGGER.error(
"Using a Frigate server version <= %s is not compatible. -- "
"You must upgrade: %s",
"Using a Frigate server (%s) with version %s <= %s which is not "
"compatible -- you must upgrade: %s",
entry.data[CONF_URL],
server_version,
FRIGATE_VERSION_ERROR_CUTOFF,
FRIGATE_RELEASES_URL,
)
Expand Down

0 comments on commit 429367c

Please sign in to comment.