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
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

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,