added object.state support for groups and lights