We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f1e370 commit 4746942Copy full SHA for 4746942
1 file changed
iot-devices/models/devices.js
@@ -225,7 +225,7 @@ myCache.init().then(() => {
225
myCache.set('weather', 'cloudy');
226
});
227
228
-function fireOverallFarmStatus() {
+function emitOverallFarmStatus() {
229
if (Emitter) {
230
myCache.get('weather').then((state) => {
231
Emitter.emit('weather', state);
@@ -655,6 +655,6 @@ module.exports = {
655
fireDevices,
656
fireAnimalCollars,
657
fireTractorStatus,
658
- fireAppStatus,
+ emitOverallFarmStatus,
659
initDevices,
660
};
0 commit comments