added currentState and action to Device,manually created json for
getDevices(rooms)