diff --git a/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayAlbum/PlayAlbum.cs b/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayAlbum/PlayAlbum.cs index 69315470..f07860d2 100644 --- a/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayAlbum/PlayAlbum.cs +++ b/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayAlbum/PlayAlbum.cs @@ -57,7 +57,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayAlbum } catch (Exception error) { - services.PersistentNotification.Create( + services.Notify.PersistentNotification( message: error.Message, title: "Erreur Spotify"); } diff --git a/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayArtist/PlayArtist.cs b/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayArtist/PlayArtist.cs index f17782bf..b9a05a16 100644 --- a/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayArtist/PlayArtist.cs +++ b/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayArtist/PlayArtist.cs @@ -55,7 +55,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayArtist } catch (Exception error) { - services.PersistentNotification.Create( + services.Notify.PersistentNotification( message: error.Message, title: "Erreur Spotify"); } diff --git a/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayPlaylist/PlayPlaylist.cs b/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayPlaylist/PlayPlaylist.cs index e6519e78..f7f4d84d 100644 --- a/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayPlaylist/PlayPlaylist.cs +++ b/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayPlaylist/PlayPlaylist.cs @@ -89,7 +89,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayPlaylist } catch (Exception error) { - services.PersistentNotification.Create( + services.Notify.PersistentNotification( message: error.Message, title: "Erreur Spotify"); } diff --git a/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlaySong/PlaySong.cs b/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlaySong/PlaySong.cs index 82c6edb4..354b43ec 100644 --- a/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlaySong/PlaySong.cs +++ b/devices/homie/modules/home-assistant/netdaemon/apps/Spotify/PlaySong/PlaySong.cs @@ -56,7 +56,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlaySong } catch (Exception error) { - services.PersistentNotification.Create( + services.Notify.PersistentNotification( message: error.Message, title: "Erreur Spotify"); }