mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
parent
b41b7aeb5b
commit
ecadf6a330
@ -57,7 +57,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: MealieConfigEntry) -> bo
|
||||
|
||||
if not version.valid:
|
||||
LOGGER.warning(
|
||||
"It seems like you are using the nightly version of Mealie, nightly versions could have changes that stop this integration working"
|
||||
"It seems like you are using the nightly version of Mealie, nightly"
|
||||
" versions could have changes that stop this integration working"
|
||||
)
|
||||
if version.valid and version < MIN_REQUIRED_MEALIE_VERSION:
|
||||
raise ConfigEntryError(
|
||||
|
@ -98,8 +98,8 @@ async def test_setup_invalid(
|
||||
await setup_integration(hass, mock_config_entry)
|
||||
|
||||
assert (
|
||||
"It seems like you are using the nightly version of Mealie, nightly versions could have changes that stop this integration working"
|
||||
in caplog.text
|
||||
"It seems like you are using the nightly version of Mealie, nightly"
|
||||
" versions could have changes that stop this integration working" in caplog.text
|
||||
)
|
||||
assert mock_config_entry.state is ConfigEntryState.LOADED
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user