LAB02-Research / HASS.Agent-Notifier

HASS.Agent Notifier integration. Adds notifications to HASS.Agent - a Windows based client for Home Assistant.
MIT License
67 stars 4 forks source link

Windows 11 notifications not working #29

Open mstengel88 opened 1 year ago

mstengel88 commented 1 year ago

Everything shows up running but i cannot get notifications to work. i have checked that notifications are enabled in windows settings, but HASS doesnt show up in the notifications settings.

2023-05-18 15:47:55.148 -05:00 [FTL] [NOTIFIER] Error while initializing: Failed initializing notifications System.InvalidOperationException: Failed initializing notifications ---> System.IO.IOException: Cannot create a stable subkey under a volatile parent key. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.CreateSubKeyInternalCore(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions) at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions) at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey) at Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat.Initialize() at Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat..cctor() --- End of inner exception stack trace --- at Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat.CreateToastNotifier() at HASS.Agent.Managers.NotificationManager.Initialize()