1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-15 07:36:16 +00:00

Bump aiomealie to 1.0.0, update min Mealie instance version to v2. (#153203)

This commit is contained in:
Andrew Jackson
2025-10-05 22:12:05 +01:00
committed by GitHub
parent 9ac93920d8
commit 78cd80746d
10 changed files with 10 additions and 9 deletions

View File

@@ -48,7 +48,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: MealieConfigEntry) -> bo
),
)
try:
await client.define_household_support()
about = await client.get_about()
version = create_version(about.version)
except MealieAuthenticationError as error:

View File

@@ -19,4 +19,4 @@ ATTR_NOTE_TEXT = "note_text"
ATTR_SEARCH_TERMS = "search_terms"
ATTR_RESULT_LIMIT = "result_limit"
MIN_REQUIRED_MEALIE_VERSION = AwesomeVersion("v1.0.0")
MIN_REQUIRED_MEALIE_VERSION = AwesomeVersion("v2.0.0")

View File

@@ -7,5 +7,5 @@
"integration_type": "service",
"iot_class": "local_polling",
"quality_scale": "silver",
"requirements": ["aiomealie==0.11.0"]
"requirements": ["aiomealie==1.0.0"]
}

View File

@@ -50,7 +50,7 @@ rules:
docs-data-update: done
docs-examples: done
docs-known-limitations: todo
docs-supported-devices: todo
docs-supported-devices: done
docs-supported-functions: done
docs-troubleshooting: todo
docs-use-cases: todo

2
requirements_all.txt generated
View File

@@ -310,7 +310,7 @@ aiolookin==1.0.0
aiolyric==2.0.2
# homeassistant.components.mealie
aiomealie==0.11.0
aiomealie==1.0.0
# homeassistant.components.modern_forms
aiomodernforms==0.1.8

View File

@@ -292,7 +292,7 @@ aiolookin==1.0.0
aiolyric==2.0.2
# homeassistant.components.mealie
aiomealie==0.11.0
aiomealie==1.0.0
# homeassistant.components.modern_forms
aiomodernforms==0.1.8

View File

@@ -1,3 +1,3 @@
{
"version": "v1.10.2"
"version": "v2.0.0"
}

View File

@@ -2,7 +2,7 @@
# name: test_entry_diagnostics
dict({
'about': dict({
'version': 'v1.10.2',
'version': 'v2.0.0',
}),
'mealplans': dict({
'breakfast': list([

View File

@@ -26,7 +26,7 @@
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'sw_version': 'v1.10.2',
'sw_version': 'v2.0.0',
'via_device_id': None,
})
# ---

View File

@@ -126,6 +126,8 @@ async def test_ingress_host(
("v1.0.0beta-5"),
("v1.0.0-RC2"),
("v0.1.0"),
("v1.9.0"),
("v2.0.0beta-2"),
],
)
async def test_flow_version_error(