Fix failing LaMetric pairing message during config flow (#79031)

This commit is contained in:
Franck Nijhof 2022-09-25 04:03:21 +02:00 committed by Paulus Schoutsen
parent f2fe91dac1
commit b55ce96a56

View File

@ -13,6 +13,7 @@ from demetriek import (
Model,
Notification,
NotificationIconType,
NotificationPriority,
NotificationSound,
Simple,
Sound,
@ -227,6 +228,7 @@ class LaMetricFlowHandler(AbstractOAuth2FlowHandler, domain=DOMAIN):
await lametric.notify(
notification=Notification(
priority=NotificationPriority.CRITICAL,
icon_type=NotificationIconType.INFO,
model=Model(
cycles=2,