- subscribe(smokeDevices, "smoke.detected", eventHandler)
- subscribe(smokeDevices, "smoke.tested", eventHandler)
- subscribe(smokeDevices, "carbonMonoxide.detected", eventHandler)
- subscribe(carbonMonoxideDevices, "carbonMonoxide.detected", eventHandler)
+ subscribe(smokeDevices, "smoke.detected", eventHandler1)
+ subscribe(smokeDevices, "smoke.tested", eventHandler1)
+ subscribe(smokeDevices, "carbonMonoxide.detected", eventHandler1)
+ subscribe(carbonMonoxideDevices, "carbonMonoxide.detected", eventHandler1)