From 502bebb766a26d9183c12eca0606cb462c7ae99b Mon Sep 17 00:00:00 2001 From: Sergey Krashevich Date: Fri, 19 Apr 2024 20:18:08 +0300 Subject: [PATCH] fix(mikrotik_router): ensure proper spacing in combined changelogs --- custom_components/mikrotik_router/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/mikrotik_router/update.py b/custom_components/mikrotik_router/update.py index ef01cec..a651482 100644 --- a/custom_components/mikrotik_router/update.py +++ b/custom_components/mikrotik_router/update.py @@ -103,7 +103,7 @@ class MikrotikRouterOSUpdate(MikrotikEntity, UpdateEntity): changelogs = await asyncio.gather(*tasks) # Combine all non-empty changelogs, maintaining reverse order - combined_changelogs = "\n".join(filter(None, changelogs)) + combined_changelogs = "\n\n".join(filter(None, changelogs)) return combined_changelogs.replace("*) ", "- ") except Exception as e: