mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Fix failing LaMetric pairing message during config flow (#79031)
This commit is contained in:
parent
bdcece4904
commit
5d378f6fbd
@ -13,6 +13,7 @@ from demetriek import (
|
|||||||
Model,
|
Model,
|
||||||
Notification,
|
Notification,
|
||||||
NotificationIconType,
|
NotificationIconType,
|
||||||
|
NotificationPriority,
|
||||||
NotificationSound,
|
NotificationSound,
|
||||||
Simple,
|
Simple,
|
||||||
Sound,
|
Sound,
|
||||||
@ -229,6 +230,7 @@ class LaMetricFlowHandler(AbstractOAuth2FlowHandler, domain=DOMAIN):
|
|||||||
|
|
||||||
await lametric.notify(
|
await lametric.notify(
|
||||||
notification=Notification(
|
notification=Notification(
|
||||||
|
priority=NotificationPriority.CRITICAL,
|
||||||
icon_type=NotificationIconType.INFO,
|
icon_type=NotificationIconType.INFO,
|
||||||
model=Model(
|
model=Model(
|
||||||
cycles=2,
|
cycles=2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user