Fix the version that raises the issue (#120638)

This commit is contained in:
Josef Zweck
2024-06-27 09:21:41 +02:00
committed by Franck Nijhof
parent 1933454b76
commit 89ac3ce832

View File

@@ -112,7 +112,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: LaMarzoccoConfigEntry) -
entry.runtime_data = coordinator
gateway_version = coordinator.device.firmware[FirmwareType.GATEWAY].current_version
if version.parse(gateway_version) < version.parse("v3.5-rc5"):
if version.parse(gateway_version) < version.parse("v3.4-rc5"):
# incompatible gateway firmware, create an issue
ir.async_create_issue(
hass,