From 5d378f6fbd8b6c90eb9cfe11a54833b3090be8cf Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 25 Sep 2022 04:03:21 +0200 Subject: [PATCH] Fix failing LaMetric pairing message during config flow (#79031) --- homeassistant/components/lametric/config_flow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/lametric/config_flow.py b/homeassistant/components/lametric/config_flow.py index b91fff6cf37..a317d835413 100644 --- a/homeassistant/components/lametric/config_flow.py +++ b/homeassistant/components/lametric/config_flow.py @@ -13,6 +13,7 @@ from demetriek import ( Model, Notification, NotificationIconType, + NotificationPriority, NotificationSound, Simple, Sound, @@ -229,6 +230,7 @@ class LaMetricFlowHandler(AbstractOAuth2FlowHandler, domain=DOMAIN): await lametric.notify( notification=Notification( + priority=NotificationPriority.CRITICAL, icon_type=NotificationIconType.INFO, model=Model( cycles=2,