Z-Wave-Me/home-automation — pull request #165 by klirichek (2014-10-07 04:01:56+00:00)
Title: Fixed bug in SceneScheduler module caused to activate all instances a ti...

ScheduledScene by default emits and subcribe to "ScheduledScene.run" event.
That is ok, until you add more scheduled scenes.
The problem is that other will also emit and subscribe to the same event. So, firing the event by Cron will cause ALL scheduled scene to be fired and activated, despite the actual schedule of each of them.

I've explicitly divided the events by name, adding Id of scheduled scene to it's event name.