diff --git a/src/util/show-new-frontend-toast.js b/src/util/show-new-frontend-toast.js index cdaf4d193b..3d094f7774 100644 --- a/src/util/show-new-frontend-toast.js +++ b/src/util/show-new-frontend-toast.js @@ -1,8 +1,8 @@ -import '@polymer/paper-toast/paper-toast.js'; +import '@polymer/ha-toast/ha-toast.js'; import '@polymer/paper-button/paper-button.js'; export default (installingWorker) => { - const toast = document.createElement('paper-toast'); + const toast = document.createElement('ha-toast'); toast.opened = true; toast.text = 'A new version of the frontend is available.'; toast.duration = 0;