Added smarthome functionality for rooms