feat(hass): switch to notify for notifs
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
54431b42d7
commit
1ff2b3442a
4 changed files with 4 additions and 4 deletions
|
@ -57,7 +57,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayAlbum
|
|||
}
|
||||
catch (Exception error)
|
||||
{
|
||||
services.PersistentNotification.Create(
|
||||
services.Notify.PersistentNotification(
|
||||
message: error.Message,
|
||||
title: "Erreur Spotify");
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayArtist
|
|||
}
|
||||
catch (Exception error)
|
||||
{
|
||||
services.PersistentNotification.Create(
|
||||
services.Notify.PersistentNotification(
|
||||
message: error.Message,
|
||||
title: "Erreur Spotify");
|
||||
}
|
||||
|
|
|
@ -89,7 +89,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayPlaylist
|
|||
}
|
||||
catch (Exception error)
|
||||
{
|
||||
services.PersistentNotification.Create(
|
||||
services.Notify.PersistentNotification(
|
||||
message: error.Message,
|
||||
title: "Erreur Spotify");
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlaySong
|
|||
}
|
||||
catch (Exception error)
|
||||
{
|
||||
services.PersistentNotification.Create(
|
||||
services.Notify.PersistentNotification(
|
||||
message: error.Message,
|
||||
title: "Erreur Spotify");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue