freedomotic/freedomotic — pull request #40 by enriconicoletti (2014-08-23 10:30:24+00:00)
Title: Fixed Core-477: Fix BehaviorManager and add filterByZone feature

This commits enable commands like "switch power of all light in kitchen". Please test it!

**IMPORTANT:**
- feature filterByTag(...) is not tested in this commit.
- All references to property "object.room" in commands must be changed to "object.zone"

```xml

switch power of all lights in kitchen
app.events.sensors.behavior.request.objects
ff10bc40-e1eb-4664-a332-d2aac4a0ac15
switch power for all lights in kitchen
true

```