diff --git a/platypush/backend/http/static/js/plugins/zigbee.mqtt/index.js b/platypush/backend/http/static/js/plugins/zigbee.mqtt/index.js index c8ba5e8b..df4c04c0 100644 --- a/platypush/backend/http/static/js/plugins/zigbee.mqtt/index.js +++ b/platypush/backend/http/static/js/plugins/zigbee.mqtt/index.js @@ -254,7 +254,14 @@ Vue.component('zigbee-mqtt', { text: 'WARNING: The controller is now offline', error: true, }); - }, 'platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent'); + }, 'platypush.message.event.zigbee.mqtt.ZigbeeMqttOfflineEvent'); + + registerEventHandler(() => { + createNotification({ + text: 'The controller is now online', + iconClass: 'fas fa-check', + }); + }, 'platypush.message.event.zigbee.mqtt.ZigbeeMqttOfflineEvent'); registerEventHandler(() => { createNotification({