Skip to content

Commit

Permalink
Sonoff: fix device discover
Browse files Browse the repository at this point in the history
  • Loading branch information
atrovato committed Dec 24, 2019
1 parent 7f60401 commit a3d3af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/services/sonoff/lib/mqttStat/status.js
Expand Up @@ -19,7 +19,7 @@ function status(deviceExternalId, message, events, sonoffHandler) {

const model = models[moduleId];
if (model) {
sonoffHandler[deviceExternalId] = {
sonoffHandler.mqttDevices[deviceExternalId] = {
name: friendlyName,
external_id: `sonoff:${deviceExternalId}`,
features: model.getFeatures(),
Expand Down

0 comments on commit a3d3af7

Please sign in to comment.