diff --git a/homeassistant/components/frontend/www_static/polymer/components/ha-notifications.html b/homeassistant/components/frontend/www_static/polymer/components/ha-notifications.html index e712de1f71d..3072da99e9a 100644 --- a/homeassistant/components/frontend/www_static/polymer/components/ha-notifications.html +++ b/homeassistant/components/frontend/www_static/polymer/components/ha-notifications.html @@ -24,9 +24,11 @@ var toast = this.$.toast; var notification = notificationStore.lastNotification; - this.lastId = notification.id; - toast.text = notification.message; - toast.show(); + if (notification) { + this.lastId = notification.id; + toast.text = notification.message; + toast.show(); + } } },