feat(hass): switch to notify for notifs
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-12-01 15:41:42 -05:00
parent 54431b42d7
commit 1ff2b3442a
4 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayAlbum
} }
catch (Exception error) catch (Exception error)
{ {
services.PersistentNotification.Create( services.Notify.PersistentNotification(
message: error.Message, message: error.Message,
title: "Erreur Spotify"); title: "Erreur Spotify");
} }

View file

@ -55,7 +55,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayArtist
} }
catch (Exception error) catch (Exception error)
{ {
services.PersistentNotification.Create( services.Notify.PersistentNotification(
message: error.Message, message: error.Message,
title: "Erreur Spotify"); title: "Erreur Spotify");
} }

View file

@ -89,7 +89,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayPlaylist
} }
catch (Exception error) catch (Exception error)
{ {
services.PersistentNotification.Create( services.Notify.PersistentNotification(
message: error.Message, message: error.Message,
title: "Erreur Spotify"); title: "Erreur Spotify");
} }

View file

@ -56,7 +56,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlaySong
} }
catch (Exception error) catch (Exception error)
{ {
services.PersistentNotification.Create( services.Notify.PersistentNotification(
message: error.Message, message: error.Message,
title: "Erreur Spotify"); title: "Erreur Spotify");
} }